How do I make the dotted-line go away when a user selects a XamWebTreeItem. I'm not setting IsSelected or ActiveItem currently, it appears to be the tree's default behavior.
What is the easiest way? In the XamWebTree ActiveItemChanged event I set the ActiveItem to null. This appears to work but I wonder if there are hidden consequences or a better way.
I don't really want to have to restyle or change how an active item is styled unless its extremely straight forward (i.e change one property or something).
Any thoughts on this would be greatly appreciated.
You are going to need to retemplate the XamWebTreeItem style in order to correctly remove that border.
You are going to need to copy the style from the generic.xaml , modify it to remove the visual state transition storyboard and assign it to your Style property.
The technique you are using wouldn't be optimal because now the tree really isn't recording what node is currently active so if you care about that you don't have any value
The location of the generic.xaml file
http://help.infragistics.com/NetAdvantage/Silverlight/2010.1/CLR3.5/?page=SL_DesignersGuide_Location_of_Generic_xaml_File.html
http://help.infragistics.com/NetAdvantage/Silverlight/2010.1/CLR3.5/?page=SL_xamWebGrid_Styling_Infragistics_Silverlight_Controls.html
How to use blend to style the control