Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Toolstrip (obsolete as of Q3 2010) > How to removed dotted vertical line in RadToolStripItem

Answered How to removed dotted vertical line in RadToolStripItem

Feed from this thread
  • Dian avatar

    Posted on Oct 3, 2010 (permalink)


    Is it possible to removed dotted vertical line in RadToolStripItem.

    As I circle out in the attachment.
    Attached files

    Reply

  • Posted on Oct 4, 2010 (permalink)

    Hi, 

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

    Hope that helps
    Richard

    Reply

  • Peter Peter admin's avatar

    Posted on Oct 7, 2010 (permalink)

    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

    Reply

  • Posted on Nov 2, 2010 (permalink)

    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).

    Reply

  • Posted on Nov 2, 2010 (permalink)

    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.

    Reply

  • Posted on Nov 3, 2010 (permalink)

    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 

    Reply

  • Posted on Nov 3, 2010 (permalink)

    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.

    Reply

  • Peter Peter admin's avatar

    Posted on Nov 8, 2010 (permalink)

    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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Toolstrip (obsolete as of Q3 2010) > How to removed dotted vertical line in RadToolStripItem
Related resources for "How to removed dotted vertical line in RadToolStripItem"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]