Prevent a tool window from floating

1 Answer 9 Views
Dock
Laurent
Top achievements
Rank 1
Iron
Iron
Laurent asked on 09 Dec 2025, 02:40 PM

J'ai 2 toolwindows.
J'ai une toolwindows 'filtre'. c'est pour la gestion des filtres. Elle se trouve à gauche
J'ai une toolwindows 'Aide'. C'est pour la gérer une aide. Elle se trouve à droite.
Je veux interdire la toolwindows 'filtre' d'être flotante. Elle doit toujours être à gauche.
Comment peut-on faire.
Merci

 

 

Thank's

Laurent.

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 10 Dec 2025, 02:48 PM

Hi Laurent,

Thank you for reaching out to us.

Let me first note that the official language for technical support communication for all Telerik products is English. I have used a translator to read the requirement. If I have correctly understood your scenario, the filter ToolWindow should not be able to go to a floating state. What you can try is to set the AllowedDockState property of the ToolWindow. For example, you can set it to Docked, and the user won't be able to drag the tool window to a floating state.

this.toolWindow1.AllowedDockState = AllowedDockState.Docked;

If you want to allow two or more states without the floating one, you can do it in the following way:

this.toolWindow1.AllowedDockState = AllowedDockState.Docked | AllowedDockState.AutoHide;

Give it a try and let me know if it works for you.

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Dock
Asked by
Laurent
Top achievements
Rank 1
Iron
Iron
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or