How do you set the SplitterPosition for the
RadSplitContainer?
Actuall, let me add a little more to the question.
I want to have a 2 pane split container. The left container I want to be a treeview that spans all rows of the grid element. The Right hand container I want to have multiple rows and colums to deal with some controls.
I didn't have any luck with pointing the left radpanelgroup to column 0 and the right radpanelgroup to column 1...the split container always remains in the same cell. I hope I am explaining this well............
Thanks!
6 Answers, 1 is accepted
0
Hello Michael,
You shouldn't use this property - it is set automatically by the docking control depending on where is the SplitContainer at the specified moment. As I am not sure what do you want to do, could you please provide some code or detailed description? If I understand correct you are trying to use the SplitContainer as a grid. This is not supported. You can achieve similar effect by using nested split containers (not the same, but similar). Here is an example:
<UserControl x:Class="SilverlightApplication.Page" |
xmlns="http://schemas.microsoft.com/client/2007" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
xmlns:radDock="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Docking"> |
<Grid x:Name="rootVisual"> |
<radDock:RadDocking> |
<radDock:RadSplitContainer Orientation="Horizontal"> |
<radDock:RadPaneGroup> |
<radDock:RadPane Header="Group1"> |
<TextBlock TextWrapping="Wrap" Text="Tree View comes here..." /> |
</radDock:RadPane> |
</radDock:RadPaneGroup> |
<radDock:RadSplitContainer Orientation="Vertical"> |
<radDock:RadPaneGroup> |
<radDock:RadPane Header="Group2"> |
<TextBlock TextWrapping="Wrap" Text="Row 1" /> |
</radDock:RadPane> |
</radDock:RadPaneGroup> |
<radDock:RadPaneGroup> |
<radDock:RadPane Header="Group3"> |
<TextBlock TextWrapping="Wrap" Text="Row 2" /> |
</radDock:RadPane> |
</radDock:RadPaneGroup> |
<radDock:RadPaneGroup> |
<radDock:RadPane Header="Group4"> |
<TextBlock TextWrapping="Wrap" Text="Row 3" /> |
</radDock:RadPane> |
</radDock:RadPaneGroup> |
</radDock:RadSplitContainer> |
</radDock:RadSplitContainer> |
</radDock:RadDocking> |
</Grid> |
</UserControl> |
Let us know if this works for you.
Regards,
Miroslav Nedyalkov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Regards,
Miroslav Nedyalkov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Waleed Seada
Top achievements
Rank 2
answered on 16 Jan 2010, 09:27 PM
Hello Miroslav Nedyalkov ,
If you still monitor this thread, allow me to ask this: If I need to open new pages from the treeview or any other pane from those, where it should open, by another meaning ... should there be a Frame or Page object to hold the loaded pages, if so how is this achievable?
Best regards
Waleed
If you still monitor this thread, allow me to ask this: If I need to open new pages from the treeview or any other pane from those, where it should open, by another meaning ... should there be a Frame or Page object to hold the loaded pages, if so how is this achievable?
Best regards
Waleed
0
Hi Waleed,
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.
Unfortunately I cannot clearly understand what you are asking about. Could you please give us some more details about your requirement?
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.
0
Waleed Seada
Top achievements
Rank 2
answered on 19 Jan 2010, 05:45 AM
Hello Miroslav Nedyalkov,
I want to implement the page navigation in my new SL application and I read in many forms a strong recommendation to follow MS-SL3 approach, so I decided to start implementing that ....
and my question is this in this post; I understood that the implementation require another area (radpane) to hold the loaded pages, is this correct ... if so can the loaded page have a transition effects .... and how close is this to MS-SL3 ?
I hope you got my point !!
Best regards,
Waleed
I want to implement the page navigation in my new SL application and I read in many forms a strong recommendation to follow MS-SL3 approach, so I decided to start implementing that ....
and my question is this in this post; I understood that the implementation require another area (radpane) to hold the loaded pages, is this correct ... if so can the loaded page have a transition effects .... and how close is this to MS-SL3 ?
I hope you got my point !!
Best regards,
Waleed
0
Hello Waleed,
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.
Please find the attached example that demonstrates how to accomplish this task.
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
Waleed Seada
Top achievements
Rank 2
answered on 21 Jan 2010, 11:41 AM
Miroslav Nedyalkov,
You make my day, perfect answer just to the point.
You actually answered many other questions in my head, I guess I will need to work with on your attachment for a while ..
Thanks and best regards
Waleed
You make my day, perfect answer just to the point.
You actually answered many other questions in my head, I guess I will need to work with on your attachment for a while ..
Thanks and best regards
Waleed