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

RadDocking - RootCompass

1 Answer 84 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Terje Johansen
Top achievements
Rank 1
Terje Johansen asked on 29 Sep 2011, 12:07 PM
Hi,

I there an easy way to hide/disable the left/top/right/botttom indicators on the RootCompass ?
I need to:
1.  avoid users from docking on the outer edges of the RadDocking area
2. only allow docking on the RadPaneGroup (left/top/right/botttom) within the RadDocking

I know how to enable/disable left/top/right/botttom indicators on the Compass, but I don't know how to do this on the RootCompass

Please advice...

1 Answer, 1 is accepted

Sort by
0
Terje Johansen
Top achievements
Rank 1
answered on 29 Sep 2011, 01:09 PM
I found the solution...creating a style for the RootCompass let's me decide which Indicators to show

<Style x:Key="RootCompassStyle" TargetType="{x:Type dock:RootCompass}">
            <Setter Property="IsLeftIndicatorVisible" Value="false" />
            <Setter Property="IsTopIndicatorVisible" Value="false" />
            <Setter Property="IsRightIndicatorVisible" Value="false" />
            <Setter Property="IsBottomIndicatorVisible" Value="false" />
</Style>
Tags
Docking
Asked by
Terje Johansen
Top achievements
Rank 1
Answers by
Terje Johansen
Top achievements
Rank 1
Share this question
or