This is a migrated thread and some comments may be shown as answers.

RadPane in DocumentHost only

4 Answers 118 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Nikolay Chekalkin
Top achievements
Rank 1
Nikolay Chekalkin asked on 04 Dec 2009, 08:16 AM

Can I adjust RadDocking so that I would be able to place RadPane into one (tabbed) or a few RadPaneGroups, but within the same DocumentHost?

For example:

write:


- <RadDocking>
- <DocumentHost>
- <RadSplitContainer Orientation="Horizontal">
- <Items>
- <RadPaneGroup>
- <Items>  <RadPane/>  </Items>
  </RadPaneGroup>
- <RadPaneGroup>
- <Items>
  <RadPane/>
  </Items>
  </RadPaneGroup>
  </Items>
  </RadSplitContainer>
  </DocumentHost>
- <SplitContainers>
- <RadSplitContainer Dock="DockedRight">
- <Items>
- <RadPaneGroup>
  <Items />
  </RadPaneGroup>
  </Items>
  </RadSplitContainer>
...........


Write:
- <RadDocking>
- <DocumentHost>
- <RadSplitContainer Orientation="Horizontal">
- <Items>
- <RadPaneGroup>
- <Items>  <RadPane/> <RadPane/>  </Items>
  </RadPaneGroup>
  </Items>
  </RadSplitContainer>
  </DocumentHost>
- <SplitContainers>
- <RadSplitContainer Dock="DockedRight">
- <Items>
- <RadPaneGroup>
  <Items />
  </RadPaneGroup>
  </Items>
  </RadSplitContainer>
...........


wrong:
<RadDocking>
- <DocumentHost>
- <RadSplitContainer Orientation="Horizontal">
- <Items>
- <RadPaneGroup>
- <Items>  <RadPane/>  </Items>
  </RadPaneGroup>
  </Items>
  </RadSplitContainer>
  </DocumentHost>
- <SplitContainers>
- <RadSplitContainer Dock="DockedRight">
- <Items>
- <RadPaneGroup>
  <Items><RadPane/></Items>
  </RadPaneGroup>
  </Items>
  </RadSplitContainer>
..........


wrong:
<RadDocking>
- <DocumentHost>
- <RadSplitContainer Orientation="Horizontal">
- <Items>
- <RadPaneGroup>
- <Items>  <RadPane/>  </Items>
  </RadPaneGroup>
  </Items>
  </RadSplitContainer>
  </DocumentHost>
- <SplitContainers>
- <RadSplitContainer Dock="DockedRight">
- <Items>
- <RadPaneGroup>
  <Items/>
  </RadPaneGroup>
  </Items>
  </RadSplitContainer>
..........
..........
..........
- <RadSplitContainer InitialPosition="FloatingDockable">
- <Items>
- <RadPaneGroup>
- <Items>
  <RadPane/>
  </Items>
  </RadPaneGroup>
  </Items>
  </RadSplitContainer>






4 Answers, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 06 Dec 2009, 05:18 PM
Hello Nikolay,

I'm not sure  I can understand what do you need to achieve. If you need to place more than one pane in the DocumentHost and to place them in a the same RadPaneGroup, you could just place a split container, a pane group in it and both panes in this group. It should work fine. Please, refer to the following examples: demos.telerik.com/silverlight/beta/#Docking/FirstLook. They should show the most common scenarios. 

If this doesn't help, please describe in more details what is your goal and we will try to help you achieve it.

I would also recommend you not to use the SplitContianers property of the RadDocking control, but its Items property.

All the best,
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
Nikolay Chekalkin
Top achievements
Rank 1
answered on 10 Dec 2009, 10:12 AM
No. I need to prohibit RadPaneGroup to appear as fly window or in any element other than DocumentHost or its children. Are there appropriate settings for that?
0
Miroslav Nedyalkov
Telerik team
answered on 10 Dec 2009, 01:14 PM
Hello Nikolay,

 You could set the CanFloat property of the RadPane to false - this way the pane will not be draggable at all.

Here is an example:

<radDock:RadPane Header="NotDragable" CanFloat="False">
    <radDock:RadPane.Content>
        <TextBlock TextWrapping="Wrap"
                Text="This pane cannot be dragged, because it has its property CanFloat set 'False'." />
    </radDock:RadPane.Content>
</radDock:RadPane>

 If you need to allow the user to drag it, but not to be floated - unfortunately this feature is not supported.


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
Nikolay Chekalkin
Top achievements
Rank 1
answered on 11 Dec 2009, 06:26 AM
Thanks for an explanation
Tags
Docking
Asked by
Nikolay Chekalkin
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Nikolay Chekalkin
Top achievements
Rank 1
Share this question
or