Hello,
I need an example of how to set ActiveNodeStyle for XamDataTree.
ThanksVish
Hi viast,
On the following link you could see styling points for XamDataTree control - http://help.infragistics.com/NetAdvantage/Silverlight/2011/1/CLR4.0/?page=Designers_Guide_Styling_Points_for_xamDataTree.html. I am sending you a link to SL documentation, because Designers Guide is not available for WPF documentation. XamDataTree is cross platform control, so you could use the SL version in that case.The property that you are searching is called ActiveNodeIndicatorStyle and you can set it directly to the XamDataTree. If you have any questions , please don't hesitate to share them!
Regards,
Nikola.
Thanks for your quick response. I have looked at the link. I am still not able to get this working, not sure what am I doing wrong here. Here is the style xaml and datatree xaml. Could you please provide a complete example.
<Style x:Key="activeNode" TargetType="Primitives:ActiveNodeIndicator">
<Style.Setters>
<Setter Property="BitmapEffect">
<Setter.Value>
<OuterGlowBitmapEffect GlowColor="Black" />
</Setter.Value>
</Setter>
</Style.Setters>
</Style>
<
ig:XamDataTree x:Name="treeNotification" NodeLineVisibility="Hidden" ActiveNodeIndicatorStyle="activeNode" ActiveNodeChanged="NotificationTreeActiveNodeChanged" >
</ig:XamDataTree>
Hello viast,
Here i attach sample showing you how you could change the style for the ActiveNode. There is some commented code, which is the style for ActiveNodeIndicator in the generic.xaml. Hope that helps to configure out how to make you own style.
Thanks for the response. It works!!