Here's my scenario.
I have a diagram (3rd party control) and when a user selects a shape I want to highlight its properties in a toolbar (Telerik), which is also used to set the properties. So it needs to serve a dual purpose.
In particular, I need the appropriate RadToolBarButton item to be selected/highlighted in the RadToolBarSplitButton dropdowns. The value and image associated with the split button itself must not change.
For example, we have a splitbutton that allows the user to select the line style.
If the user selects a line, they would then open the dropdown to see what style had been applied to that line. The "button" would continue to show the last style that was selected and would apply that style should the user click it.
I hope that's clear.
Here's my declaration of the splitbutton:
I've tried locating the button to highlight using the following (without success):
The above finds the button, but checking it does not show any visual indication that it is selected when the dropdown is expanded.
Thanks in advance for any assistance.