共用方式為


CommandState.IsEnabled Property

Definition

If true, the command should be enabled in the UI.

public:
 property bool IsEnabled { bool get(); };
public bool IsEnabled { [System.Runtime.CompilerServices.IsReadOnly] get; }
[<get: System.Runtime.CompilerServices.IsReadOnly>]
member this.IsEnabled : bool
Public ReadOnly Property IsEnabled As Boolean

Property Value

Attributes

Applies to