Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1210
Styling in class that inherits from ExpansionIndicatorUIElement
posted

I have created a class that I use to implement expansion indicators in grid column headers. Expanding shows related columns and collapsing hides them. This works without any issues. The objects inherits from Infragistics.Win.ExpansionIndicatorUIElement.

The look of the expansion indicator is not quite right. I looked at the source code and tried to follow it, but I think I am falling short on the implementation of the UIRole. In the ExpansionIndicatorUIElement source code it is just a single line of code:

return StyleUtils.GetRole( this.Row.BandInternal, StyleUtils.Role.ExpansionIndicator );

StyleUtils is not accessible and I am not sure what I am supposed to call to get the role. I tried this:

GetUIRole(AppStyling.UIRoleNames.ExpansionIndicator)

But either that does not translate to the same or I am missing something else.

Here is how the expansion indicators look. On top is my object in the column headers and below is the grid's row expansion indicators:

Can anybody point me in the right direction? Maybe there is some example available that properly implements styling in an object like the one I am inheriting from?

Parents Reply Children
No Data