Hi there,
I'm populating a RadTreeView with RadTreeViewItems and if i have more information than can be displayed vertically on the RadTreeView the VerticalScrollBar is not being displayed. Shouldn't the ScrollBars display by default when the full information cannot be displayed?
To compensate for the above, I'm trying to manually set the visibility of the ScrollBars using the following code but still without any success:
void ItemContainerGenerator_StatusChanged(object sender, EventArgs e)
{
if (this.ItemContainerGenerator.Status == Telerik.Windows.Controls.Primitives.GeneratorStatus.ContainersGenerated)
{
if (this.ScrollViewer != null)
{
this.ScrollViewer.IsEnabled = true;
this.ScrollViewer.HorizontalScrollBarVisibility = ScrollBarVisibility.Visible;
this.ScrollViewer.VerticalScrollBarVisibility = ScrollBarVisibility.Visible;
}
}
}
Am i missing something? Can someone help.
Regards,
Mark.
I'm populating a RadTreeView with RadTreeViewItems and if i have more information than can be displayed vertically on the RadTreeView the VerticalScrollBar is not being displayed. Shouldn't the ScrollBars display by default when the full information cannot be displayed?
To compensate for the above, I'm trying to manually set the visibility of the ScrollBars using the following code but still without any success:
void ItemContainerGenerator_StatusChanged(object sender, EventArgs e)
{
if (this.ItemContainerGenerator.Status == Telerik.Windows.Controls.Primitives.GeneratorStatus.ContainersGenerated)
{
if (this.ScrollViewer != null)
{
this.ScrollViewer.IsEnabled = true;
this.ScrollViewer.HorizontalScrollBarVisibility = ScrollBarVisibility.Visible;
this.ScrollViewer.VerticalScrollBarVisibility = ScrollBarVisibility.Visible;
}
}
}
Am i missing something? Can someone help.
Regards,
Mark.