Hi,
When I add GridView to PanelBarItem and set columns width more than window width, then panelBar is out of window and scroll bar in GridView don't show.
How can I fix this ?
When I add GridView to PanelBarItem and set columns width more than window width, then panelBar is out of window and scroll bar in GridView don't show.
How can I fix this ?
<Window x:Class="gridViewScroll.Window1" |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
Title="Window1" Height="321" Width="551" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"> |
<Grid> |
<telerik:RadPanelBar Name="radPanelBar1" > |
<telerik:RadPanelBarItem Header="HeaderBar1" IsExpanded="True"> |
<telerik:RadGridView Margin="0,0,0,1" Name="radGridView1" ShowInsertRow="True" ShowGroupPanel="False" CanUserFreezeColumns="False" RowIndicatorVisibility="Collapsed"> |
<telerik:RadGridView.Columns> |
<telerik:GridViewColumn UniqueName="{x:Null}" Header="Header1" Width="180"/> |
<telerik:GridViewColumn UniqueName="{x:Null}" Header="Header2" Width="180"/> |
<telerik:GridViewColumn UniqueName="{x:Null}" Header="Header3" Width="180"/> |
<telerik:GridViewColumn UniqueName="{x:Null}" Header="Header4" Width="180"/> |
</telerik:RadGridView.Columns> |
</telerik:RadGridView> |
</telerik:RadPanelBarItem> |
<telerik:RadPanelBarItem Header="HeaderBar2"></telerik:RadPanelBarItem> |
</telerik:RadPanelBar> |
</Grid> |
</Window> |