This question is locked. New answers and comments are not allowed.
Hi,
I want to do something really simple.
I want to put one control (or userControl, whatever) on the top of RadDocking.
I'm working with silverlight 5 and C#.
I can do that with Canvas and Canvas.ZIndex
Just like this:
So i can see, when my RadPane "Test" is docked, it's appear under my borders. That's what i want.
But, when i drag my pane to put it into an other docking, the RadPane go on the top, on my borders.
But i don't want that.
I want that my borders are always on the Top. Even if my RadPane is floating.
It is possible to do that ?
To resume, i want to do something like the compass do.
When i drag my RadPane, i can see the Compass are always above my RadDocking.
I want to do the same thing.
Thank you.
Maxime.
I want to do something really simple.
I want to put one control (or userControl, whatever) on the top of RadDocking.
I'm working with silverlight 5 and C#.
I can do that with Canvas and Canvas.ZIndex
Just like this:
<
Grid
x:Name
=
"LayoutRoot"
Background
=
"White"
>
<
Canvas
Height
=
"1000"
Width
=
"1000"
HorizontalAlignment
=
"Left"
>
<
docking:RadDocking
Canvas.Left
=
"0"
Canvas.Top
=
"0"
Canvas.ZIndex
=
"0"
Height
=
"500"
Width
=
"500"
>
<
docking:RadSplitContainer
>
<
docking:RadPaneGroup
>
<
docking:RadPane
Header
=
"Test"
Canvas.ZIndex
=
"1"
>
<
TextBlock
Text
=
"test"
Foreground
=
"Black"
/>
</
docking:RadPane
>
</
docking:RadPaneGroup
>
</
docking:RadSplitContainer
>
</
docking:RadDocking
>
<
Border
Background
=
"Red"
Height
=
"50"
Width
=
"50"
Canvas.Top
=
"25"
Canvas.Left
=
"25"
Canvas.ZIndex
=
"3"
/>
<
Border
Background
=
"Green"
Height
=
"50"
Width
=
"50"
Canvas.Top
=
"0"
Canvas.Left
=
"0"
Canvas.ZIndex
=
"2"
/>
</
Canvas
>
</
Grid
>
So i can see, when my RadPane "Test" is docked, it's appear under my borders. That's what i want.
But, when i drag my pane to put it into an other docking, the RadPane go on the top, on my borders.
But i don't want that.
I want that my borders are always on the Top. Even if my RadPane is floating.
It is possible to do that ?
To resume, i want to do something like the compass do.
When i drag my RadPane, i can see the Compass are always above my RadDocking.
I want to do the same thing.
Thank you.
Maxime.