Hello,
I have noticed a strange display issue with Horizontal Scroll bars when resizing a RadDocumentPane that contains a RadGridView control.
When a GridViewColumn is set to star width sizing, and the width of the RadDocumentPane is reduced by dragging the splitter across, a Horizontal Scrollbar appears temporarily as the splitter handle is released by the mouse, then disappears again, even though there is plenty of horizontal space and no need for it to show.
If the width is set to Auto then the problem goes away.
Here's the xaml (nothing fancy in CS so don't bother posting):
<Grid> |
<telerikDocking:RadDocking> |
<telerikDocking:RadDocking.DocumentHost> |
<telerikDocking:RadSplitContainer> |
<telerikDocking:RadPaneGroup> |
<telerikDocking:RadDocumentPane Header="Document 1" Title="Document 1"> |
<telerikDocking:RadDocumentPane.Content> |
<Controls:RadGridView x:Name="dgRadGridViewMain" AutoGenerateColumns="False" ScrollViewer.HorizontalScrollBarVisibility="Auto"> |
<Controls:RadGridView.Columns> |
<Controls:GridViewColumn Width="Auto" HeaderText="First Name"> |
<Controls:GridViewColumn.CellTemplate> |
<DataTemplate> |
<TextBlock Text="{Binding FirstName}" /> |
</DataTemplate> |
</Controls:GridViewColumn.CellTemplate> |
</Controls:GridViewColumn > |
<Controls:GridViewColumn Width="*" HeaderText="Last Name"> |
<Controls:GridViewColumn.CellTemplate> |
<DataTemplate> |
<TextBlock Text="{Binding LastName}" /> |
</DataTemplate> |
</Controls:GridViewColumn.CellTemplate> |
</Controls:GridViewColumn> |
</Controls:RadGridView.Columns> |
</Controls:RadGridView> |
</telerikDocking:RadDocumentPane.Content> |
</telerikDocking:RadDocumentPane> |
</telerikDocking:RadPaneGroup> |
</telerikDocking:RadSplitContainer> |
</telerikDocking:RadDocking.DocumentHost> |
<telerikDocking:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft"> |
<telerikDocking:RadPaneGroup> |
<telerikDocking:RadPane Header="Pane Left 1"> |
</telerikDocking:RadPane> |
</telerikDocking:RadPaneGroup> |
</telerikDocking:RadSplitContainer> |
</telerikDocking:RadDocking> |
</Grid> |
Are you able to replicate this?
Cheers,
James.