This is a migrated thread and some comments may be shown as answers.

[Solved] Styling the scrollbar

1 Answer 122 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ron
Top achievements
Rank 1
Ron asked on 18 Aug 2011, 01:47 PM
I've done a lot of custom styling on the RadGridView, and have an implicit style for the ScrollBars in my app, but the RadGridView does not recognize that implicit style...it uses a style of its own.

How do I get it to recognize my implicit ScrollBar style?

Thanks,
Ron

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 18 Aug 2011, 01:57 PM
Hello Ron,

 
The behavior you get is the expected one. Since RadGridView uses its own GridViewScrollViewer you would not be able to style its scrollbars using an implicit style. You should mark these styles as explicit and set it directly within the GridViewScrollViewer's template, you may refer to the following screencast which demonstrates how this can be achieved. 




Greetings,
Vanya Pavlova
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
GridView
Asked by
Ron
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or