This is a migrated thread and some comments may be shown as answers.

How to removed dotted vertical line in RadToolStripItem

7 Answers 331 Views
Toolstrip (obsolete as of Q3 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dian
Top achievements
Rank 1
Dian asked on 04 Oct 2010, 04:12 AM

Is it possible to removed dotted vertical line in RadToolStripItem.

As I circle out in the attachment.

7 Answers, 1 is accepted

Sort by
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 04 Oct 2010, 10:06 AM
Hi, 

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

Hope that helps
Richard
0
Peter
Telerik team
answered on 07 Oct 2010, 11:51 AM
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
0
Rayne
Top achievements
Rank 1
answered on 02 Nov 2010, 04:11 PM
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).
0
John Bagdanoff
Top achievements
Rank 1
answered on 02 Nov 2010, 08:11 PM
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.
0
Richard Slade
Top achievements
Rank 2
answered on 03 Nov 2010, 11:22 AM
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 
0
John Bagdanoff
Top achievements
Rank 1
answered on 03 Nov 2010, 06:23 PM
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.
0
Peter
Telerik team
answered on 08 Nov 2010, 04:41 PM
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
Tags
Toolstrip (obsolete as of Q3 2010)
Asked by
Dian
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Peter
Telerik team
Rayne
Top achievements
Rank 1
John Bagdanoff
Top achievements
Rank 1
Share this question
or