This question is locked. New answers and comments are not allowed.
Hi,
I have following docking defined:
I want to prevent that a user can make the "Properties" pane wider then 10% of the total available surface so that there is always a reasonable width left for the other pane "Slide".
I have used various combinations of MaxWidth on the different objects of docking, but nothing works. I want to make sure the user can not continue dragging the "Properties" pane using the mouse, so that the "Slide" pane becomes too small to be of use. I can limit the size of the properties grid realy easy, but the user can still continue make the pane as big as he wants.
What is the correct way to handle this?
Best Regards,
Peter
I have following docking defined:
<
telerikDocking:RadSplitContainer
Orientation
=
"Horizontal"
Grid.Row
=
"1"
>
<
telerikDocking:RadPaneGroup
telerik:ProportionalStackPanel.RelativeSize
=
"300, 30"
x:Name
=
"TaskRadPaneGroup"
>
<
telerikDocking:RadPane
x:Name
=
"Slide"
Header
=
""
PaneHeaderVisibility
=
"Collapsed"
CanUserClose
=
"False"
>
<
Grid
x:Name
=
"SlideGrid"
>
</
Grid
>
</
telerikDocking:RadPane
>
</
telerikDocking:RadPaneGroup
>
<
telerikDocking:RadSplitContainer
Orientation
=
"Vertical"
>
<
telerikDocking:RadPaneGroup
telerik:ProportionalStackPanel.RelativeSize
=
"300, 30"
>
<
telerikDocking:RadPane
x:Name
=
"Properties"
Header
=
""
PaneHeaderVisibility
=
"Collapsed"
CanUserClose
=
"False"
>
</
telerikDocking:RadPane
>
</
telerikDocking:RadPaneGroup
>
</
telerikDocking:RadSplitContainer
>
</
telerikDocking:RadSplitContainer
>
I want to prevent that a user can make the "Properties" pane wider then 10% of the total available surface so that there is always a reasonable width left for the other pane "Slide".
I have used various combinations of MaxWidth on the different objects of docking, but nothing works. I want to make sure the user can not continue dragging the "Properties" pane using the mouse, so that the "Slide" pane becomes too small to be of use. I can limit the size of the properties grid realy easy, but the user can still continue make the pane as big as he wants.
What is the correct way to handle this?
Best Regards,
Peter