Skybound Rebar

RebarButton.Menu Property

Gets or sets the ContextMenu associated with this button.

[Visual Basic]
Public Property Menu As ContextMenu
[C#]
public System.Windows.Forms.ContextMenu Menu {get; set;}

Property Value

The ContextMenu associated with this button.

Remarks

When ButtonType is RebarButtonType.Menu, the button's context menu is displayed when the button is clicked. When ButtonType is RebarButtonType.MenuOrPush, the button's context menu is displayed when the drop-down area of the button is pushed. For all other values of ButtonType, this property is unused.

See Also

RebarButton Class | Skybound.Rebar Namespace