Click here to Skip to main content
16,016,885 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to Seperete Two Menues With vertical line?
For e.g: File Edit Projct Bulid Debug.......These menues...but I want to design these menu like File | Edit | Projct | Bulid |Debug....in our project...
Currently look like File Edit Projct Bulid Debug....How to seprate these menues with vertical line..
Posted
Comments
Suvendu Shekhar Giri 19-Jun-15 5:47am    
In which kind of application? Windows/ASP.Net/Windows Phone ?
Member 11227519 19-Jun-15 6:06am    
Thanks For reply...
Its Windows Application.....

1 solution

That will look very nonstandard, and I know of no standard way to do it.

However, it should be possible - I haven't tried it, and I'm not going to: overriding standard UI elements is rarely a good idea - if you use the MenuStrip Paint event and add them yourself, possibly adding a left Margin increment to the Menu Items to give you more space.
 
Share this answer
 
Comments
Member 11227519 19-Jun-15 6:06am    
Thanks....
OriginalGriff 19-Jun-15 6:14am    
You're welcome!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900