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

How to lock RadDock double-click window

3 Answers 127 Views
Dock
This is a migrated thread and some comments may be shown as answers.
hong
Top achievements
Rank 1
hong asked on 27 Dec 2018, 05:46 AM

Hello everyone.

        When I run the program, I double-click documentwindow1 in the RadDock control; documentwindow1 pops up, how can I lock documentwindow1 to keep it from popping up?

       As shown in the figure1.

3 Answers, 1 is accepted

Sort by
0
Accepted
Hristo
Telerik team
answered on 27 Dec 2018, 06:07 AM
Hi Hong,

You can set the AllowedDockState property of the window: 
this.documentWindow1.AllowedDockState = AllowedDockState.TabbedDocument;

You can also check the following documentation article for additional information and examples: https://docs.telerik.com/devtools/winforms/controls/dock/object-model/alloweddockstates.

I hope this will help. Let me know if you need further assistance.

Regards,
Hristo
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
hong
Top achievements
Rank 1
answered on 29 Dec 2018, 02:25 AM

Hi Hristo,

   This problem has just solved.Thank you very much.

   Just add the following sentence:

    Me.RadDock1.SingleScreen=true

Regards,

Hong

 
 

Just add the following sentence

0
Hristo
Telerik team
answered on 31 Dec 2018, 07:26 AM
Hello Hong,

I am glad I managed to help. Let me know if you have other questions.

Regards,
Hristo
Progress Telerik
Get quickly and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Dock
Asked by
hong
Top achievements
Rank 1
Answers by
Hristo
Telerik team
hong
Top achievements
Rank 1
Share this question
or