Hi everyone,
I have developped a sample application showing an issue I have in a real application.
Here is the markup of the sample application's main window :
Here is the markup of UserControl1 :
The user control's grid overflows the pane as shown on the attached picture.
Is it a bug ?
I use the 2012.2.912.40 version of Telerik assemblies.
Thank you in advance for your answer.
I have developped a sample application showing an issue I have in a real application.
Here is the markup of the sample application's main window :
<
Window
x:Class
=
"DockedPaneOverflow.MainWindow"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:sample
=
"clr-namespace:DockedPaneOverflow"
Title
=
"MainWindow"
Height
=
"350"
Width
=
"525"
>
<
telerik:RadDocking
>
<
telerik:RadSplitContainer
InitialPosition
=
"DockedLeft"
Width
=
"240"
>
<
telerik:RadPaneGroup
>
<
telerik:RadPane
>
<
sample:UserControl1
></
sample:UserControl1
>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
<
telerik:RadDocking.DocumentHost
>
<
telerik:RadSplitContainer
>
<
telerik:RadPaneGroup
>
</
telerik:RadPaneGroup
>
<
telerik:RadPaneGroup
>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking.DocumentHost
>
</
telerik:RadDocking
>
</
Window
>
Here is the markup of UserControl1 :
<
UserControl
x:Class
=
"DockedPaneOverflow.UserControl1"
xmlns:sample
=
"clr-namespace:DockedPaneOverflow"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable
=
"d"
d:DesignHeight
=
"300"
d:DesignWidth
=
"300"
>
<
UserControl.Resources
>
<
sample:RadGridViewSampleData
x:Key
=
"DataSource"
/>
</
UserControl.Resources
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
></
ColumnDefinition
>
</
Grid.ColumnDefinitions
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"15px"
></
RowDefinition
>
<
RowDefinition
Height
=
"*"
></
RowDefinition
>
</
Grid.RowDefinitions
>
<
Canvas
Grid.Column
=
"0"
Grid.Row
=
"0"
>
<
Menu
>
<
MenuItem
Header
=
"Level 1"
>
<
MenuItem
Header
=
"Level 1.1"
/>
</
MenuItem
>
</
Menu
>
</
Canvas
>
<
Canvas
Grid.Column
=
"0"
Grid.Row
=
"1"
>
<
telerik:RadGridView
x:Name
=
"radGridView"
Margin
=
"8"
ItemsSource
=
"{Binding Source={StaticResource DataSource}, Path=Cars}"
Width
=
"600px"
Height
=
"394px"
/>
</
Canvas
>
</
Grid
>
</
UserControl
>
The user control's grid overflows the pane as shown on the attached picture.
Is it a bug ?
I use the 2012.2.912.40 version of Telerik assemblies.
Thank you in advance for your answer.