3 Answers, 1 is accepted
0
Hello Matjaz,
Regards,
Miroslav Nedyalkov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
The RadPane control is displayed like the Header of the pane so by changing its Height you are actually changing the Height of the Header. The content of the pane is actually shown in the RadPaneGroup. The sizes of the RadPaneGroups and RadSplitContainers that are not directly in the Docking control are set relatively. You can set relative size to a RadPaneGroup by setting it the PropertionalStackPanel:RelativeSize attached property. Here is an example of what I mean:
<
telerikDocking:RadDocking
>
<
telerikDocking:RadSplitContainer
InitialPosition
=
"DockedTop"
Orientation
=
"Horizontal"
>
<
telerikDocking:RadPaneGroup
telerikDocking:ProportionalStackPanel.RelativeSize
=
"100, 200"
>
<
telerikDocking:RadPane
Header
=
"pane"
/>
</
telerikDocking:RadPaneGroup
>
<
telerikDocking:RadPaneGroup
telerikDocking:ProportionalStackPanel.RelativeSize
=
"300, 200"
>
<
telerikDocking:RadPane
Header
=
"pane"
/>
</
telerikDocking:RadPaneGroup
>
</
telerikDocking:RadSplitContainer
>
</
telerikDocking:RadDocking
>
Regards,
Miroslav Nedyalkov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Edo Cof
Top achievements
Rank 1
answered on 02 Nov 2009, 05:15 PM
And what if i don't want to set width property, only height, which is logic thing for me? Width = 100% and height is some variable.
0
Hello Matjaz,
I would suggest you to set it to the default value - 200. In result you will get 100% as 200 of 200 is 100%.
Best wishes,
Miroslav Nedyalkov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Best wishes,
Miroslav Nedyalkov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.