We are implementing the RadDocking with just one Toolbar (splitcontainer with radpanegroup with one radpane...see XAML later in post). It is Docked Left and starts out Unpinned.
When you click on the AutoHideArea tab for the Toolbar it opens just fine but never AutoHides even when I move the mouse over and click on the main document area.
The documentation on http://www.telerik.com/help/wpf/raddocking-panes-pinned-unpinned-panes.html says:
"The unpinned RadPane is shown only when the mouse cursor is over it and is hidden when the cursor leaves its area."
This is clearly not happening. In fact, I loaded the "Getting Started" example in this same documentation section and it does not occur there either. Either I am missing something or something is broken (or the documentation is wrong)
That is Question 1: Why does the unpinned RadPane not hide when the cursor leaves its area?
Question 2:
XAML is below. In the code, the c:TabControl shown is just a wrapper for a RadTabControl. After some work I figured out that it is probably because my control is directly in the DocumentHost. I did this because I do not want a splitcontainer or pane header. I just want my own control in the main area. In addition, our tabcontrol relies on an override of RadTabControl.OnApplyTemplate() getting fired when RadDocking performs its MeasureOverride(), which does not happen when I put our control inside these new panes.
Maybe I just need to know how to ensure my OnApplyTemplate() override gets fired when RadDocking performs its MeasureOverride() but then I would also need to know how to hide the Pane header I suppose.
Thanks for any help.
When you click on the AutoHideArea tab for the Toolbar it opens just fine but never AutoHides even when I move the mouse over and click on the main document area.
The documentation on http://www.telerik.com/help/wpf/raddocking-panes-pinned-unpinned-panes.html says:
"The unpinned RadPane is shown only when the mouse cursor is over it and is hidden when the cursor leaves its area."
This is clearly not happening. In fact, I loaded the "Getting Started" example in this same documentation section and it does not occur there either. Either I am missing something or something is broken (or the documentation is wrong)
That is Question 1: Why does the unpinned RadPane not hide when the cursor leaves its area?
Question 2:
XAML is below. In the code, the c:TabControl shown is just a wrapper for a RadTabControl. After some work I figured out that it is probably because my control is directly in the DocumentHost. I did this because I do not want a splitcontainer or pane header. I just want my own control in the main area. In addition, our tabcontrol relies on an override of RadTabControl.OnApplyTemplate() getting fired when RadDocking performs its MeasureOverride(), which does not happen when I put our control inside these new panes.
Maybe I just need to know how to ensure my OnApplyTemplate() override gets fired when RadDocking performs its MeasureOverride() but then I would also need to know how to hide the Pane header I suppose.
Thanks for any help.
<
telerik:RadDocking
telerikQuickStart:ThemeAwareBackgroundBehavior.IsEnabled
=
"True"
>
<
telerik:RadDocking.RootCompassStyle
>
<
Style
TargetType
=
"telerik:RootCompass"
>
<
Setter
Property
=
"IsCenterIndicatorVisible"
Value
=
"False"
/>
<
Setter
Property
=
"IsTopIndicatorVisible"
Value
=
"False"
/>
<
Setter
Property
=
"IsBottomIndicatorVisible"
Value
=
"False"
/>
</
Style
>
</
telerik:RadDocking.RootCompassStyle
>
<
telerik:RadDocking.CompassStyle
>
<
Style
TargetType
=
"telerik:Compass"
>
<
Setter
Property
=
"IsCenterIndicatorVisible"
Value
=
"False"
/>
<
Setter
Property
=
"IsTopIndicatorVisible"
Value
=
"False"
/>
<
Setter
Property
=
"IsBottomIndicatorVisible"
Value
=
"False"
/>
</
Style
>
</
telerik:RadDocking.CompassStyle
>
<
telerik:RadDocking.DocumentHost
>
<
telerik:RadBusyIndicator
IsBusy
=
"{Binding LayoutLoaded,Converter={StaticResource BooleanInverter}}"
DockPanel.Dock
=
"Left"
BusyContent
=
"Loading Layout..."
IsIndeterminate
=
"True"
>
<
c:TabControlEx
x:Name
=
"ItemTabControl"
ItemsSource
=
"{Binding Tabs}"
SelectedItem
=
"{Binding ActiveTab}"
Loaded
=
"ItemTabControl_Loaded"
Padding
=
"0"
Style
=
"{StaticResource BlueTabControlEx}"
/>
</
telerik:RadBusyIndicator
>
</
telerik:RadDocking.DocumentHost
>
<
telerik:RadSplitContainer
InitialPosition
=
"DockedLeft"
Width
=
"285"
>
<
telerik:RadPaneGroup
>
<
telerik:RadPane
Header
=
"Toolbox"
IsPinned
=
"False"
>
<
v:NewToolboxView
BorderBrush
=
"#385d8a"
BorderThickness
=
"2"
DataContext
=
"{Binding Toolbox}"
/>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking
>