Hi
Does anyone know a way to get hold of the width (or height, if horizontal) of a scrollbar when visible in the grid. I can access the computed visiblity:
var scrollViewer = GridDataControl.Model.Views.First().Parent as ScrollViewer;
var isVisible = scrollViewer.ComputedVerticalScrollBarVisibility == Visibility.Visible;
But, I can't find a way to calculate either the size of the grid excluding the scrollbars or the width / height of the scrollbars themselves. All of the properties I would think should provide this information in ScrollViewer are zero (e.g. ScrollableWidth, HorizontalOffset, etc.)
It's a long story, but I'm working on some custom column width logic.
Many thanks
SK
S. Kannan
Syncfusion Team
January 14, 2011 10:40 AM UTC
We are investigating on this. We will let you know the outcome by 01/17/2010.
SK
S. Kannan
Syncfusion Team
January 14, 2011 10:42 AM UTC
Hi Ross,
Thanks for your interest in Syncfusion products.
We are investigating on this. We will let you know the outcome by 01/17/2010.
Please let us know if you need further information.
Regards,
Kannan.S