The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I have a diagram with nodes and a separate thread (not the window thread) updates nodes style with following code (node is the node to update)
System.Windows.Style s = new System.Windows.Style(); Setter cSetter = new Setter(System.Windows.Shapes.Path.FillProperty, Brushes.LightGray); s.Setters.Add(cSetter);
Setter fSetter = new Setter(System.Windows.Shapes.Path.StretchProperty, Stretch.Fill); s.Setters.Add(fSetter);
node.CustomPathStyle = s;
the same code used in the Window thread works.
I tried without results to call UpdateLayout() method of Hosting Vire and diagram.
RTRamya Thirugnanam Syncfusion Team February 14, 2012 03:40 PM UTC
Hi Domenico, With Regards to Style node update from another thread, Please provide us a simple sample to represent your scenario.so that, we would investigate further on this and update you with the proper solution. Please let us know if you have any concerns. Regards, Ramya