Hello.
I've an ISL file where I've set lots of properties (styling properties). Some of them refer to the scrollbars. They look really nice. But in the UltraListView the scrollbars are just "common" scroll bars.
Even in the NetAdvantage AppStylist for Windows Form, I can see the UltraListView with the regular scrollbars near the UltraTree with my styled scrolls. The only controls I see with the "right looking" scrollbar are UltraTree and UltraGrid
What am I missing here?
Typically this is because the control's UseOsThemes property is left at its default setting, which causes the scrollbars to display as themed, which makes any appearance settings applied to them not applicable. You can set the ThemedElementAlpha property to transparent for the scrollbar roles, which overrides the theming for those elements, and that will be picked up by all controls.
Thanks for the reply.
I'm almost there. I've set ThemedElementAlpha to transparent, and then I had to explicitly set some borders to Transparent. After doing that I have the scrollbar which looks exactly like the others BUT the ScrollBarThumbVertical image which is not showing in the UltraListView's. I haven't tried but I guess this will be reproducible with the image of the ScrollBarThumbHorizontal.
I found out the reason of this odd behavior was that for the UltraTree (and some other controls I've been using) I had:
<componentStyle name="UltraTree" useOsThemes="False" />
But I didn't have that for the UltraListView.
The same scrollbar elements are used by all the controls, so theoretically what you describe should be impossible - styling the scrollbar is supposed to make it look the same for every one of our controls. If possible attach a sample that demonstrates the behavior you describe here and we will take a look and let you know why it looks different in UltraListView.