Please can you tell me that how can i disable horizontal Scroll Bar ?
If i set ScrollViewer.HorizontalScrollBarVisibility="Disable" then Scroll become hide but i want that it visible for user but not disable mode. How can i do it?
Thanks
Mahesh
1 Answer, 1 is accepted
0
Accepted
Vanya Pavlova
Telerik team
answered on 02 Aug 2010, 04:42 PM
Hi Mahesh,
You should edit the control template of the GridViewScrollViewer and set the IsEnabled property of HorizontalScrollBar to false:
var horizontalScrollbar = radGridView1.ChildrenOfType<ScrollBar>().Where(p => p.Orientation == Orientation.Horizontal).First();
horizontalScrollbar.IsEnabled = false;
Best wishes,
Vanya Pavlova
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items