Custom designing of inbuilt Scroll bar or Scroll Viewer of Datagrid in Silverlight

487 views Asked by At

can any one please suggest me how to change style of inbuilt scroll viewer of DataGrid in Silverlight.

Right now my DataGrid is taking the default style of scroll viewer which is used in the project so I want to change that is it possible if yes then please suggest me.

1

There are 1 answers

0
Jaderson Linhares On BEST ANSWER

If you use Expression Blend, in design mode you can right-click the datagrid > Edit Template > Edit a Copy.

In the window "Objects and TimeLine" will appear the inbuilt components, including the Horizontal and Vertical ScrollBars:

enter image description here

After that, in the "Objects and TimeLine" window, you right-click the ScrollBars > Edit Template > Edit Current. The XAML Window will show the ScrollBar Style:

enter image description here

I recommend you mannually duplicate the entire Style and make changes in the copy.