Export (0) Print
Expand All

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)

public enum CommandStatus

Member nameDescription
UnSupportedCommandId is not known by the can execute handler.

SupportedCommandId is known, but currently disabled due to context.

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

EnabledAndSupportedCommandId is known and enabled.

© 2015 Microsoft