I have a floating RadPane, I need to identify when the user stops dragging it. It can be still floating and and not docked.
1 Answer, 1 is accepted
0
Stenly
Telerik team
answered on 08 Apr 2024, 12:39 PM
Hello Alex,
To achieve this requirement, the ToolWindow class can be extended and its OnDragEnd method can be overridden. Then, a custom DefaultGeneratedItemsFactory can be created and the CreateToolWindow method can be overridden to return a new instance of the custom ToolWindow element. Finally, set the custom factory to the GeneratedItemsFactory property of RadDocking.
The following code snippets show this suggestion's implementation: