By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,565 Members | 1,677 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,565 IT Pros & Developers. It's quick & easy.

horizontal bar in contextmen

P: n/a
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.
Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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]
- mv*@spam.guard.caspershouse.com

"Steve Teeples" <St***@discussions.microsoft.com> wrote in message
news:CD**********************************@microsof t.com...
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.

Nov 16 '05 #2

P: n/a
Wonderful! It worked! Thanks.

"Nicholas Paldino [.NET/C# MVP]" wrote:
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]
- mv*@spam.guard.caspershouse.com

"Steve Teeples" <St***@discussions.microsoft.com> wrote in message
news:CD**********************************@microsof t.com...
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.


Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.