Add a seperator in context menu

Add a seperator in context menu

Anonymous
Not applicable
769 Views
2 Replies
Message 1 of 3

Add a seperator in context menu

Anonymous
Not applicable

Hi there,

 

I want to add several commands to the context menu. I got it working so far and also I am able to remove commands.

But is there a way to add a seperator to the context menu?

The CommandBar.Controls entity allows me to add buttons, popups and several other button styles but how can I add a seperator to group my commands?

 

Any help appreciated.

 

Regards

 

Alexander

0 Likes
Accepted solutions (1)
770 Views
2 Replies
Replies (2)
Message 2 of 3

sanjay.ramaswamy
Alumni
Alumni
Accepted solution

Get the CommandBarControl object before which you want to insert the separator and set the GroupBegins property to True.

0 Likes
Message 3 of 3

Anonymous
Not applicable

Many thanks for the reply... Didn't find that option in the API docs...

0 Likes