I have created an irregular tree describing a company reporting structure using the RadTreeView. The data is provided via. a web service call after which the class structure is created and then assigned to the ItemsSource.
This works great.
Now I would like to be able to apply various styles, such as different colors and fonts, to each node based on provided properties for persons that have specific authorization levels. For example bold all managers and add a red font.
I see how you can apply a static style such as:
ItemContainerStyle="{StaticResource ManagerStyle}"
Is there a way I can apply a list of static resources to individual nodes based on a property value?
Example:
ItemContainerStyle="{Binding StyleNameToApply}"
Any help would be appreciated.