One More Context Menu Question

  • Thread starter Thread starter snesbit
  • Start date Start date
S

snesbit

I want to add a separator bar between sections of the right mouse menu.

I want the bar to be horizontal to separate a vertical group of menu items.

I've tried the few methods and combinations thereof but can only create a column separator bar which
at the moment I do not want.


ie.

Function 1
Function 2
Function 3
Function 4
Function 5
Function 6
Function 7

Any and all help would be appreciated...
 
snesbit said:
I want to add a separator bar between sections of the right mouse menu.

I want the bar to be horizontal to separate a vertical group of menu items.

I've tried the few methods and combinations thereof but can only
create a column separator bar which
at the moment I do not want.


ie.

Function 1
Function 2
Function 3
Function 4
Function 5
Function 6
Function 7

Any and all help would be appreciated...

A separator is just a MenuItem with Text property "-" (a single
hyphen). If you are buildling the menu at design-time, there is even an
'Insert Separator' item on the context menu.
 
Back
Top