Gets or sets the ContextMenu containing the hidden buttons in the band.
A ContextMenu that contains a menu item for each hidden button in the band.
The Text property of the button is used for the menu item text, even when TextVisible is false. Therefore, it is advisable to include text for each button even if the text will not be displayed on the band. Furthermore, when the button is disabled, the menu item will also be disabled.
The ButtonType property of each button may also change the way it appears in the chevron menu:
RebarButtonType Value | Description |
---|---|
Push | The button is represented as a normal menu item. |
Toggle | If this button is checked, the Checked property of the menu item is also set to true. |
Group | The RadioCheck property of the menu item is set to true. If this button is the selected button in the group, the Checked property is also set to true. |
Menu | A submenu is created using the items from the context menu specified in the Menu property of the button. |
MenuOrPush | A submenu is created using the items from the context menu specified in the Menu property of the button. Two additional items are inserted at the top of the submenu. The first item can be clicked to click the button. The second item is a separator bar. |
Separator | The menu item text is set to a hyphen to create a separator bar on the menu. |
Panel | No menu item is inserted for panels. |
Set this property to a null reference (Nothing in Visual Basic) to prevent the chevron menu from being displayed.
ChevronClickEventArgs Class | Skybound.Rebar Namespace