MenuItemMarkupExtensions class
Generated fluent setters and event subscriptions for MenuItem.
Guide: C# Markup guide
public static class MenuItemMarkupExtensionsPublic Members
Section titled “Public Members”| name | description |
|---|---|
| static Command(…) | Sets the semantic command this item invokes. |
| static CommandData(…) | Sets CommandData. The value this placement hands its command as the invocation argument, so several items can share one command and differ only in what they pass. Null lets the argument the menu captured when it opened (the item it opened over) stand in. |
| static Icon(…) | Sets this placement’s icon override. |
| static IsCheckable(…) | Sets IsCheckable. Whether the item has a check slot. The slot is the icon column, which a menu with such an item keeps whether or not any check is currently shown; the item’s own icon is not shown. |
| static IsChecked(…) | Sets IsChecked. Whether the check is shown in the slot of an item that IsCheckable. Clicking the item does not change it: the application sets it, usually from the state its command changes. |
| static IsEnabled(…) | Sets the local enabled state, which the command’s CanExecute is combined with rather than replacing. |
See Also
Section titled “See Also”- namespace Aprillz.MewUI.Controls