Skybound Rebar

RebarMenuExtender.GetPopupTheme Method 

Gets the RebarTheme used to render a ContextMenu when it is displayed using the Show method or as a right-click context menu for a control.

[Visual Basic]
Public Function GetPopupTheme( _
   ByVal menu As ContextMenu _
) As RebarTheme
[C#]
public RebarTheme GetPopupTheme(
   ContextMenu menu
);

Parameters

menu
The context menu whose popup theme is returned.

Return Value

The RebarTheme used to render the context menu.

Remarks

If the context menu will only be used as a menu in a RebarBand, it is unncessary to assign a popup theme as the menu will inherit the theme assigned to the Rebar control.

See Also

RebarMenuExtender Class | Skybound.Rebar Namespace