다음을 통해 공유


ICommand.SetVisibilityState(Nullable<Boolean>) Method

Definition

Set this command as visible, invisible, or null to determine the visibility 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 SetVisibilityState (bool? isVisible);
abstract member SetVisibilityState : Nullable<bool> -> unit
Public Sub SetVisibilityState (isVisible As Nullable(Of Boolean))

Parameters

isVisible
Nullable<Boolean>

The new visibility state of this command.

Applies to