This question is locked. New answers and comments are not allowed.
Hello,
I used the Version 714 of the Telerik Silverlight RadControls. With this Version the code below worked fine. Now I installed this version 2010.2.812.1040 and now the function ChildrenOfType is missing. Are there any changes about this?
Can you tell me an alternative? The issue of the code is to get a reference to the vertical scrollbar and to change its visibility.
Kind regards,
Sascha Abraham
I used the Version 714 of the Telerik Silverlight RadControls. With this Version the code below worked fine. Now I installed this version 2010.2.812.1040 and now the function ChildrenOfType is missing. Are there any changes about this?
Can you tell me an alternative? The issue of the code is to get a reference to the vertical scrollbar and to change its visibility.
Kind regards,
Sascha Abraham
Private Sub CISDatagrid_SizeChanged(ByVal sender As Object, ByVal e As System.Windows.SizeChangedEventArgs) Handles Me.SizeChanged Dim oGrid As RadGridView oGrid = sender Dim sw = oGrid.ChildrenOfType(Of GridViewScrollViewer)().FirstOrDefault() If sw IsNot Nothing Then Dim vsb = sw.ChildrenOfType(Of ScrollBar)().Where(Function(s) s.Orientation = Orientation.Vertical).FirstOrDefault() If vsb IsNot Nothing Then ScrollViewer.SetVerticalScrollBarVisibility(oGrid, ScrollBarVisibility.Visible) m_oScrollBar = vsb End If End If End Sub