Share via


IMenuItem.IsEnabled Property

Definition

Gets or sets whether a menu command is enabled and can be executed.

public:
 property bool IsEnabled { bool get(); void set(bool value); };
public bool IsEnabled { get; set; }
member this.IsEnabled : bool with get, set
Public Property IsEnabled As Boolean

Property Value

True if the menu command is enabled; false otherwise.

Applies to