RadDocking - RootCompass

2 posts, 0 answers
  1. Terje Johansen
    Terje Johansen avatar
    28 posts
    Member since:
    Mar 2010

    Posted 29 Sep 2011 Link to this post

    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...
  2. Terje Johansen
    Terje Johansen avatar
    28 posts
    Member since:
    Mar 2010

    Posted 29 Sep 2011 Link to this post

    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>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top