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

Settings Pane Floatable

5 Answers 73 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Diego
Top achievements
Rank 1
Diego asked on 27 Oct 2014, 10:25 PM
Hi, is there any way to make the settings pane floatable?

thank you in advance.

5 Answers, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 29 Oct 2014, 11:06 AM
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.

 
0
Diego
Top achievements
Rank 1
answered on 30 Oct 2014, 08:28 PM
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.
0
Zarko
Telerik team
answered on 03 Nov 2014, 05:44 PM
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.

 
0
Swee Eng
Top achievements
Rank 1
answered on 20 Jul 2015, 05:29 AM

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

0
Petar Mladenov
Telerik team
answered on 21 Jul 2015, 08:41 AM
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
Tags
Diagram
Asked by
Diego
Top achievements
Rank 1
Answers by
Zarko
Telerik team
Diego
Top achievements
Rank 1
Swee Eng
Top achievements
Rank 1
Petar Mladenov
Telerik team
Share this question
or