Skybound Rebar

RebarButton.PerformMenuClick Method 

Simulares the effect of clicking on the menu drop-down for this button.

[Visual Basic]
Public Sub PerformMenuClick()
[C#]
public void PerformMenuClick();

Remarks

If ButtonType is RebarButtonType.Menu or RebarButtonType.MenuOrPush, the MenuClick event is raised and, depending on whether the Handled property of the RebarButtonEventArgs sent to the event handler returns true, the default context menu for the current menu is displayed. For more information about this process, refer to the MenuClick event. For all other values of ButtonType, calling this method has no effect.

See Also

RebarButton Class | Skybound.Rebar Namespace