Is there a sample which describes how to apply the default xamwebtree.xaml style to the control?
Hi,
By default, if you set the IsEnabled property on the XamWebTree to false (thus disabling it), all of the child XamWebTreeItem elements foreground will be rendered using a light gray brush. If you want to override this, there are a couple of ways you can do this. First of all, to clarify, are you looking to override the default Light Gray Foreground brush of child XamWebTreeItems when the parent XamWebTree IsEnabled property is set to false?
Thanks!
I would like to change foreground color when the webtree is disabled. Can you please provide any sample example?
Thanks in advance,
I was wondering if you would clarify this question. Are you asking how to utilize the control template styles that appear in the Defaults folder?
These styles are provided in case you wish to override the default look of the control. You can copy this XAML into your own Resource Dictionaries, add custom functionality or design changes to them, then assign the customized template to the tree control Template property. If you would like an example how to do that, I would be happy to whip up a sample for you. Let me know if you would like that.
Thank you,