Udostępnij za pośrednictwem


ExecutableCommandHandler.SetEnabledState(Nullable<Boolean>) Method

Definition

Set this command as enabled, disabled, or null to determine the enabled state from registered metadata. Setting this value to null will fall back to using the registered metadata context rule if one was provided.

public void SetEnabledState (bool? isEnabled);
abstract member SetEnabledState : Nullable<bool> -> unit
override this.SetEnabledState : Nullable<bool> -> unit
Public Sub SetEnabledState (isEnabled As Nullable(Of Boolean))

Parameters

isEnabled
Nullable<Boolean>

The new enabled state of this command.

Implements

Applies to