How to removed dotted vertical line in RadToolStripItem

8 posts, 1 answers
  1. Dian
    Dian avatar
    16 posts
    Member since:
    Oct 2010

    Posted 03 Oct 2010 Link to this post


    Is it possible to removed dotted vertical line in RadToolStripItem.

    As I circle out in the attachment.
  2. Answer
    Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 04 Oct 2010 Link to this post

    Hi, 

    You need to set the grid visibility on the RadToolStripItem. For example.. 
    Me.RadToolStripItem1.Grip.Visibility = ElementVisibility.Collapsed

    Hope that helps
    Richard
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 07 Oct 2010 Link to this post

    Hello guys,

    Richard, thank you for sharing your solution.

    Dian, you can use this approach - it is the right way to achieve your requirement.

    Do not hesitate to contact us if you have other questions.

    Greetings,
    Peter
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Rayne
    Rayne avatar
    241 posts
    Member since:
    Sep 2010

    Posted 02 Nov 2010 Link to this post

    I've tried this, both in the designer and at run-time and all it does is hide them, but the space used up by the grip is still there. I want my item to line up at the edge as if the grip didn't exist. (I'm using the trial as of now).
  6. John Bagdanoff
    John Bagdanoff avatar
    4 posts
    Member since:
    Apr 2010

    Posted 02 Nov 2010 Link to this post

    I'm having the same issue. I've set the grip's Visibility to Collapsed, but there's still a wide margin before my first tool button.
  7. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 03 Nov 2010 Link to this post

    Hi Guys, 

    It's true that at the moment, the Hidden and Collapsed states seem to behave in the same way. However, there is a new control called the RadCommandBar that is coming out very soon that will replace the RadToolStrip. 
    Have a look at the Telerik Marketing Blog for more information. 

    Hope that helps
    Richard 
  8. John Bagdanoff
    John Bagdanoff avatar
    4 posts
    Member since:
    Apr 2010

    Posted 03 Nov 2010 Link to this post

    As a followup, I found that setting the ToolStripItemLayout element's Margin.Left  value to a negative number seems to do the trick. About -10 looks best to me.

    Please note that setting the ToolStripItemLayout's Padding.Left and ItemsOffset.X values to negative numbers also appears to work, but part of the hoverable area will remain eclipsed by the hidden grip (meaning that the left-most tool item will be fully visible, but will be partially unresponsive to clicking and hover effects.
  9. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 08 Nov 2010 Link to this post

    Hi John,

    Thank you for writing.

    The desired feature is not support by our RadToolstrip. I would like to inform you we are developing a new control - RadCommandBar - that will replace existing RadToolstrip.

    The new control will provide this feature along with the features of the current product (such as horizontal and vertical orientation, drag and drop rearrange, Add/Remove tools, etc.), but will also provide Visual Style Builder support, auto-collapse, and much better design-time support.

    I hope this helps.

    Kind regards,
    Peter
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top
UI for WinForms is Visual Studio 2017 Ready