How to lock RadDock double-click window

4 posts, 1 answers
  1. hong
    hong avatar
    27 posts
    Member since:
    Oct 2018

    Posted 26 Dec 2018 Link to this post

    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.

  2. Answer
    Hristo
    Admin
    Hristo avatar
    1520 posts

    Posted 27 Dec 2018 Link to this post

    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.
  3. hong
    hong avatar
    27 posts
    Member since:
    Oct 2018

    Posted 28 Dec 2018 Link to this post

    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

  4. Hristo
    Admin
    Hristo avatar
    1520 posts

    Posted 31 Dec 2018 Link to this post

    Hello Hong,

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

    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.
Back to Top