CommandStatus Enumeration

Applies to v2.

Specifies the CommandStatus return value used in CanExecute.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration CommandStatus
'Usage
Dim instance As CommandStatus
[FlagsAttribute]
public enum CommandStatus
[FlagsAttribute]
public enum class CommandStatus
[<FlagsAttribute>]
type CommandStatus
public enum CommandStatus

Members

Member name Description
UnSupported CommandId is not known by the can execute handler.

Supported CommandId is known, but currently disabled due to context.

Enabled CommandId is known, command is enabled. Never return as a standalone flag.

EnabledAndSupported CommandId is known and enabled.

See Also

Reference

Microsoft.WebMatrix.Extensibility Namespace