Disable center compass indicator on DocumentHost

3 posts, 0 answers
  1. Buzz
    Buzz avatar
    32 posts
    Member since:
    Oct 2010

    Posted 20 Jan 2011 Link to this post

    When dragging a pane to be docked, I'd like to disable the center compass indicator.
    How can I do this?
    I'm handling PreviewShowCompass, but I'm not sure how I can use this.  I see TargetGroup in the PreviewShowCompassEventArgs argument, but I don't see how to use this to my advantage yet.

    I'm not sure if it matters, but my DocumentHost does not contain any DocumentPanes, but rather a ContentControl whose ContentTemplate is basically a RadTileView.  The tile view is only populated programmatically by me.
    I don't necessary need to use a DocumentHost.  I just used it for it's ability to automatically fill the space in the RadDocking.

    Thanks for any help!
    Buzz
  2. George
    Admin
    George avatar
    1332 posts

    Posted 26 Jan 2011 Link to this post

    Hello Buzz,

    Please, refer to our online documentation - http://www.telerik.com/help/wpf/raddocking-features-compass.html

    I hope this helps.
     

    Kind regards,
    George
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Buzz
    Buzz avatar
    32 posts
    Member since:
    Oct 2010

    Posted 26 Jan 2011 Link to this post

    George,

    Your suggestion in my support ticket did the trick.
    For anyone else:

    RadPane.CanDockInDocumentHost="False".

    Or to apply to all RadPanes:
    <Style TargetType="telerik:RadPane">
               <SetterProperty="CanDockInDocumentHost"Value="False"/>
    </Style>

    Buzz
Back to Top