Disable close, floating button for Dock Panel

6 posts, 0 answers
  1. Ching-Yen
    Ching-Yen avatar
    65 posts
    Member since:
    Nov 2007

    Posted 25 Apr 2008 Link to this post

    Hi,

    May I know how can i Hide/Disable (prefer hide) the 3 button on top of each dock panel?

    Please advice.

    Regards,
    Ching-Yen Beh
  2. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 25 Apr 2008 Link to this post

    Hello Ching-Yen,

    To hide the system buttons of DockPanel object you can set to false the following properties:

    dockPanel1.CloseButtonVisible = false;
    dockPanel1.HideButtonVisible = false;
    dockPanel1.DropDownButtonVisible = false;

    I hope this was helpful. If you have additional questions, please contact us.

     
    Regards,
    Julian Benkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Eric
    Eric avatar
    32 posts
    Member since:
    Jun 2011

    Posted 08 Nov 2011 Link to this post

    These properties do not exist in the version I'm using 2009 Q3. Could you please provide assistance on how to do this for my version? Thanks.
  5. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 11 Nov 2011 Link to this post

    Hello Eric,

    This property is valid for the deprecated DockingManager control. For the RadDock control you can use ToolCaptionButtons property:

    this.toolWindow1.ToolCaptionButtons = ToolStripCaptionButtons.None;

    To show all system buttons, you can use:
    this.toolWindow1.ToolCaptionButtons = ToolStripCaptionButtons.Close | ToolStripCaptionButtons.AutoHide | ToolStripCaptionButtons.SystemMenu;

    Greetings,
    Julian Benkov
    the Telerik team

    Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.

  6. Eric
    Eric avatar
    32 posts
    Member since:
    Jun 2011

    Posted 11 Nov 2011 Link to this post

    I do not have that property. I have ToolTipTextNeeded and ShowItemToolTips but noToolCaptionButtons. I do however, have the enumeration for ToolStripCaptionButtons
  7. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 16 Nov 2011 Link to this post

    Hi Eric,

    I made a test with Q3 2009 release with RadDock control that support this functionality. Please view the attached screenshots for details.

    Greetings,
    Julian Benkov
    the Telerik team

    Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.

Back to Top
UI for WinForms is Visual Studio 2017 Ready