Settings Pane Floatable

6 posts, 0 answers
  1. Diego
    Diego avatar
    13 posts
    Member since:
    Aug 2012

    Posted 27 Oct 2014 Link to this post

    Hi, is there any way to make the settings pane floatable?

    thank you in advance.
  2. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 29 Oct 2014 Link to this post

    Hello Diego,
    Yes, you can place the SettingsPane (and the SettingsPaneView) wherever you want - it doesn't have to be in the additional content of the RadDiagram. If you could elaborate a little bit more on your exact scenario and what you're trying to achieve it'll be easier for us to help you further.
    We're looking forward to hearing from you again.

    Regards,
    Zarko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Diego
    Diego avatar
    13 posts
    Member since:
    Aug 2012

    Posted 30 Oct 2014 in reply to Zarko Link to this post

    Hi, what i'm trying to do is to allow the user to move the settingsPane wherever he/she wants, like a window. Sometimes an user needs to manipulate the properties of certain diagramObject and at the same time needs to see another object in the diagram. What i'd do is grab the property window with the mouse pointer and drag it to some other place so i'll be able to see what was behind the SetthingsPane.
  5. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 03 Nov 2014 Link to this post

    Hi Diego,
    One way to do this is with our DragDropManager - handle the DragInitialize and DragOver events and move the settings pane inside a canvas. If you don't want the open/close button you can place a SettingsPaneView inside anything you want - popup, border, window and etc. and move its parent on DnD again.
    I've attached a sample project demonstrating the first approach so could you please examine it and tell us if this is what you're looking for.

    Regards,
    Zarko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  6. Swee Eng
    Swee Eng avatar
    3 posts
    Member since:
    Sep 2012

    Posted 20 Jul 2015 in reply to Zarko Link to this post

    Hi,

     I have a similar requirement to this forum post, so I downloaded the sample project to try out. I notice that the button actually gets displaced together with the SettingsPane. Is it possible to allow the SettingsPane to be moved by user but the button remain at its relative position from the object? Thanks for your help.

     

    Regards,

    Swee Eng

  7. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 21 Jul 2015 Link to this post

    Hello Swee,

    The button moves along with the SettingsPane (SP) because it is part of the SP's ControlTemplate. To separate them, I would suggest implementing another approach from scratch. In the AdditionalContent, place button which has single purpose - to open a RadWindow / Window. The Content of the window could be SettingsPaneView, which is bound to the diagram via the Diagram property. I hope this helps you proceed further.

    Regards,
    Petar Mladenov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
UI for WPF is Visual Studio 2017 Ready