Hi All
I have an app using the Office2010 theme.
But we prefer the desert theme for our tree view. I used this code to force the theme
private static void ForceTreeviewTheme(RadTreeView tv)
{
// tv.EnableTheming = false;
tv.ThemeName = "Desert";
tv.RootElement.ForceReApplyStyle();
tv.RootElement.ForceApplyTheme();
}
It worked ok but the node back colours were still Office2010 grey and I cannot see the node selection colour when I click and select a node.
If I do not disable theming or re-enable it I get the Office 2010 theme again, making me think I have not actually applied the theme at all!
What is the best way to achieve this goal?
Thanks
I have an app using the Office2010 theme.
But we prefer the desert theme for our tree view. I used this code to force the theme
private static void ForceTreeviewTheme(RadTreeView tv)
{
// tv.EnableTheming = false;
tv.ThemeName = "Desert";
tv.RootElement.ForceReApplyStyle();
tv.RootElement.ForceApplyTheme();
}
It worked ok but the node back colours were still Office2010 grey and I cannot see the node selection colour when I click and select a node.
If I do not disable theming or re-enable it I get the Office 2010 theme again, making me think I have not actually applied the theme at all!
What is the best way to achieve this goal?
Thanks