Collapse/Hide ToolTabStrip Close Button

2 posts, 1 answers
  1. Ian
    Ian avatar
    22 posts
    Member since:
    Nov 2010

    Posted 21 Feb 2012 Link to this post

    Hi,

    How can I hide/collapse the toolTabStrip close button permanently. I used " toolTabStrip1.CloseButton.Visibility = ElementVisibility.Collapsed;" and "((Telerik.WinControls.UI.RadButtonElement)(this.toolTabStrip1.GetChildAt(0).GetChildAt(2).GetChildAt(0).GetChildAt(2).GetChildAt(0))).Visibility = Telerik.WinControls.ElementVisibility.Collapsed;" but it's not working properly. I attached a screen shot.

    Many thanks,
     
    Ian

    Edit: Using Version 2011.1.11.315
  2. Answer
    Ian
    Ian avatar
    22 posts
    Member since:
    Nov 2010

    Posted 23 Feb 2012 Link to this post

    It's ok now. I just missed the ToolCaptionButtons property of the ToolWindow. Thanks.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top