Skybound Rebar

RebarMenuItemRenderer.MeasureItem Method 

Measures the minimum dimensions of the menu item.

[Visual Basic]
Overridable Public Function MeasureItem() As Size
[C#]
public virtual Size MeasureItem();

Return Value

The recommended size of the menu item.

Remarks

This method takes the item's text and shortcut text into account.

See Also

RebarMenuItemRenderer Class | Skybound.Rebar.Rendering Namespace