Description:
When using a display with scaling setting to more than 100%, floating pane docking does not work as intended. When dragging a pane out of a PaneGroup, and without releasing it, you drop it on top of another tab (so it is inserted into that position in the PaneGroup), nothing happens (window stays floating in that position). If you drag the already floating window on top of the same tab, then the default behavior happens and the pane is docked into the group. This behavior is reproducible on the Telerik UI for WPF Demo app.
See attached video for reproduction case in Demo app.
Technical Details:
For the failing scenario DragDelta on the ToolWindow is being triggered with wrongly scaled mouse position. On second drag drop operation, DragDelta receives properly scaled mouse position.
Failure case mouse positions:
DRAG START {864,128.8}
DRAG DELTA {871.2,142.4}
...
DRAG DELTA {864.8,114.4}
DRAG END {1081,143}
Second case mouse positions:
DRAG START {862.4,116}
DRAG DELTA {873.6,160.8}
...
DRAG DELTA {860.8,112}
DRAG END {860.8,112}
Currently, the RadPaneGroup has one Grid layout with Margin="5" present in its control template, which causes the Content of each child pane to be indented according to the Margin property's value.
To work this around, extract the control template, with x:Key="RadPaneGroupDocumentHostControlTemplate", and modify the Grid layout, which has its Margin property set to 5. After that, create a new style with TargetType="RadPaneGroup" and set its DocumentHostTemplate property, to the modified one.
The AutoHide area is closing when clicking at WinForms control placed in it. The issue also can be reproduced with WebBrowser or any object of MarshalByRefObject type placed in the AutoHideArea.
Hello Support,
I have some hidden panes (see attachement). The Problem is that when I try to reorder and save the layout and reload it, the panes are not ordered as wished.
I there a way to provide it?
Best regards,
Frédéric Le Blay.
Currently when ScaleTransform is used ether on the RadDocking control or its container the compasses/drop cues which are shown when docking a RadPane instance have incorrect scaling and are placed incorrectly. By design the control's scaling is determined by the scaling of the OS environment.
Hi,
In most docking applications (Telerik WinForms, Visual Studio), it is possible to right click on the pane-tab header and get the options:
- New Horizontal Tab Group
- New Vertical Tab Group
- Move to Next Tab Group
etc.
This would nice in WPF as well
/Brian