Skip to content

MenuItemMarkupExtensions.IsChecked method

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.

public static MenuItem IsChecked(this MenuItem target, bool value = true)
parameter description
target Target MenuItem.
value Value assigned to IsChecked.

The same element for chaining.

Sets: MenuItem.IsChecked