SystemMenuManagerSetItemState(MenuItem, MenuItemState) Method

Set an state for a menu item.

Definition

Namespace: DevCase.Core.Application.Forms
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public virtual bool SetItemState(
	MenuItem item,
	MenuItemState state
)

Parameters

item  MenuItem
The system menu item.
state  MenuItemState
The new state for the item.

Return Value

Boolean
If the function succeeds, the return is .

If the function fails, the return value is .

See Also