Hi,
I am trying to set fore colour of a Selected node to Brown in the attached example.
I tried several options like adding style triggers, adding colour animation, modifying visual states etc., in the xaml file but not able to achieve. I am able to set its style through code on node selection change event, but not able to do through xaml.
Can anyone help me in achieving this through xaml style trigger OR Visual states OR any other ways.
Thanks
Prasad
Hello Prasad,
The Foreground color of the selected nodes could be modified by changing the ColorAnimation for the Selected Visual State in the default NetworkNodeNodeControl style. A sample that illustrates this is attached here. Please feel free to let me know if you need further assistance.