CommandState Constructors

Definition

Overloads

CommandState(Boolean, Boolean, String, Boolean)
CommandState(Boolean, Boolean, Boolean, Boolean, String)
CommandState(Boolean, Boolean, Boolean, Boolean, Boolean, String)

CommandState(Boolean, Boolean, String, Boolean)

public CommandState (bool isAvailable = false, bool isChecked = false, string displayText = default, bool isUnspecified = false);
new Microsoft.VisualStudio.Commanding.CommandState : bool * bool * string * bool -> Microsoft.VisualStudio.Commanding.CommandState
Public Sub New (Optional isAvailable As Boolean = false, Optional isChecked As Boolean = false, Optional displayText As String = Nothing, Optional isUnspecified As Boolean = false)

Parameters

isAvailable
Boolean
isChecked
Boolean
displayText
String
isUnspecified
Boolean

Applies to

CommandState(Boolean, Boolean, Boolean, Boolean, String)

public CommandState (bool isAvailable, bool isChecked, bool isEnabled, bool isVisible, string displayText = default);
new Microsoft.VisualStudio.Commanding.CommandState : bool * bool * bool * bool * string -> Microsoft.VisualStudio.Commanding.CommandState
Public Sub New (isAvailable As Boolean, isChecked As Boolean, isEnabled As Boolean, isVisible As Boolean, Optional displayText As String = Nothing)

Parameters

isAvailable
Boolean
isChecked
Boolean
isEnabled
Boolean
isVisible
Boolean
displayText
String

Applies to

CommandState(Boolean, Boolean, Boolean, Boolean, Boolean, String)

public:
 CommandState(bool isAvailable, bool isUnspecified, bool isChecked, bool isEnabled, bool isVisible, System::String ^ displayText);
public CommandState (bool isAvailable, bool isUnspecified, bool isChecked, bool isEnabled, bool isVisible, string displayText);
new Microsoft.VisualStudio.Commanding.CommandState : bool * bool * bool * bool * bool * string -> Microsoft.VisualStudio.Commanding.CommandState
Public Sub New (isAvailable As Boolean, isUnspecified As Boolean, isChecked As Boolean, isEnabled As Boolean, isVisible As Boolean, displayText As String)

Parameters

isAvailable
Boolean
isUnspecified
Boolean
isChecked
Boolean
isEnabled
Boolean
isVisible
Boolean
displayText
String

Applies to