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

Scaling RadDocking with ToolWindows

1 Answer 2 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Stanislau
Top achievements
Rank 1
Stanislau asked on 28 Mar 2017, 02:49 PM

We need to implement a zooming feature on our control, which include RadDocking element.

Unfortunately, the floating tool windows do not scale just by applying RenderTransform to the control, like this:

    Dock.RenderTransform = new ScaleTransform { ScaleX = Scaler.Scale, ScaleY = .caler.Scale };

 

As said in this thread (http://www.telerik.com/forums/applying-a-scaletransform-to-a-raddocking-container-causes-splitters-to-drag-strangely) there is no native solution to this. However, is this possible with manual control over the positioning and scaling of the windows? Is there a way to get a list of all tool windows generated for RadPanes, and is it possible to control their position and scale?

 

Thanks.

1 Answer, 1 is accepted

Sort by
0
Polya
Telerik team
answered on 31 Mar 2017, 10:48 AM
Hi Stanislau,

In order to get all opened ToolWindows you can use the RadWindowManager.Current.GetWindows() method and filter those of type ToolWindow:
var toolWindows = RadWindowManager.Current.GetWindows().OfType<ToolWindow>();

Regarding the transform operations - scaling the ToolWindow up (zooming) would result in a broken looking UI, because the ToolWindow is hosted in a transparent native window chrome, which size will not change when the transform is applied.

Regards,
Polya
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Docking
Asked by
Stanislau
Top achievements
Rank 1
Answers by
Polya
Telerik team
Share this question
or