hi
I want to create a layout with a pinnable, auto hide region on the bottom (for query results) that doesn't overlay the rest of the content in the window. I am trying to accomplish it with RadDock, but can't get it quite where I want.
If I don't set a lower row, the containing box for the radDock stretched to 100% vertically, and obscured the content beneath it.
If I set a lower row, and set its height to 30 (as in the sample code below), it starts to work more or less how I want it to, except that pinning the "output" box results in it resizing down to the 30 pixels tall.
If I set the height of the lower row to something more reasonable, like 350px, and set the opacity of radDocking1 to something like "0.2", it "sort of" works, and made me think I might be able to set the opacity of radDocking1 to 0, and then create my own buttons for the tabs (as they become invisible as well); however, on pinning, the pinned window appears to inherit the opacity of the containing radDocking1, and so disappears.
Assistance appreciated
thanks
/jonathan
code:
I want to create a layout with a pinnable, auto hide region on the bottom (for query results) that doesn't overlay the rest of the content in the window. I am trying to accomplish it with RadDock, but can't get it quite where I want.
If I don't set a lower row, the containing box for the radDock stretched to 100% vertically, and obscured the content beneath it.
If I set a lower row, and set its height to 30 (as in the sample code below), it starts to work more or less how I want it to, except that pinning the "output" box results in it resizing down to the 30 pixels tall.
If I set the height of the lower row to something more reasonable, like 350px, and set the opacity of radDocking1 to something like "0.2", it "sort of" works, and made me think I might be able to set the opacity of radDocking1 to 0, and then create my own buttons for the tabs (as they become invisible as well); however, on pinning, the pinned window appears to inherit the opacity of the containing radDocking1, and so disappears.
Assistance appreciated
thanks
/jonathan
code:
<UserControl x:Class="GeoLinxSilverlight.test" |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
Width="Auto" Height="Auto" |
xmlns:radDock="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Docking" |
> |
<Grid x:Name="LayoutRoot"> |
<Grid.RowDefinitions> |
<RowDefinition Height="*"/> |
<RowDefinition Height="30"/> |
</Grid.RowDefinitions> |
<Grid.ColumnDefinitions> |
<ColumnDefinition Width="*"/> |
<ColumnDefinition Width="350"/> |
</Grid.ColumnDefinitions> |
<Image Grid.ColumnSpan="2" Grid.RowSpan="2" ></Image> |
<radDock:RadDocking x:Name="radDocking1" Grid.Column="0" Grid.Row="1" > |
<radDock:RadSplitContainer radDock:DockingPanel.InitialSize="200,200" |
x:Name="BottomContainer" InitialPosition="DockedBottom"> |
<radDock:RadPaneGroup x:Name="Group3"> |
<radDock:RadPane x:Name="Pane6" Header="Output" CanDockInDocumentHost="False" CanFloat="False" CanUserClose="False" IsPinned="False"> |
</radDock:RadPane> |
</radDock:RadPaneGroup> |
</radDock:RadSplitContainer> |
</radDock:RadDocking> |
</Grid> |
</UserControl> |