horizontal bar in contextmen

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created a context menu within a treeview with several items. I want
to separate them with a horizontal bar but can't find a way to do this. I've
only seen a vertical bar with a break feature. Does anyone have any
suggestions on how to get a horizontal bar within a ContextMenu?

Thanks.
 
Steve,

Do you mean a separator line? I believe if you set the text of the menu
item to "-", it will create the separator line for you.

Hope this helps.
 
Wonderful! It worked! Thanks.

Nicholas Paldino said:
Steve,

Do you mean a separator line? I believe if you set the text of the menu
item to "-", it will create the separator line for you.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Steve Teeples said:
I have created a context menu within a treeview with several items. I want
to separate them with a horizontal bar but can't find a way to do this.
I've
only seen a vertical bar with a break feature. Does anyone have any
suggestions on how to get a horizontal bar within a ContextMenu?

Thanks.
 
Back
Top