This question is locked. New answers and comments are not allowed.
Hi, is it possible to keep a UI element in front of a RadPane
when it is in a Flyout state?
I have used the xaml-sdkbrowser to create an example showing
the problem.
After initial load the text is in front of the RadPane. But
if you collapse all panes down and then hover over one to make it FlyOut the
pane is in front of the text. I have tried using the Canvas.ZIndex property but
this seems to make no difference.
<
UserControl
x:Class
=
"PaneGroupItemsSource.Example"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:local
=
"clr-namespace:PaneGroupItemsSource"
mc:Ignorable
=
"d"
d:DesignHeight
=
"300"
d:DesignWidth
=
"400"
>
<
Grid
x:Name
=
"LayoutRoot"
Background
=
"White"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
/>
</
Grid.RowDefinitions
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
Button
Content
=
"Reset Panes"
Click
=
"ButtonReset_Click"
Margin
=
"5"
/>
<
Button
Content
=
"Add"
Click
=
"ButtonAdd_Click"
Margin
=
"5"
/>
<
Button
Content
=
"Insert"
Click
=
"ButtonInsert_Click"
Margin
=
"5"
/>
<
Button
Content
=
"Delete First"
Click
=
"ButtonDelFirst_Click"
Margin
=
"5"
/>
<
Button
Content
=
"Delete Last"
Click
=
"ButtonDelLast_Click"
Margin
=
"5"
/>
</
StackPanel
>
<
telerik:RadDocking
Grid.Row
=
"1"
x:Name
=
"dock"
Canvas.ZIndex
=
"1"
>
<
telerik:RadSplitContainer
Canvas.ZIndex
=
"1"
>
<
telerik:RadPaneGroup
x:Name
=
"PaneGroup"
Canvas.ZIndex
=
"1"
local:PaneGroupExtensions.ItemsSource
=
"{Binding}"
/>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking
>
<
StackPanel
Margin
=
"100,100,100,100"
Grid.Row
=
"1"
Canvas.ZIndex
=
"999999"
>
<
TextBlock
>Put This Text Infront</
TextBlock
></
StackPanel
>
</
Grid
>
</
UserControl
>