ICommand Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a command implementation. A command can implement multiple interfaces to define what capabilities it has.
public interface ICommand : System.ComponentModel.INotifyPropertyChanged
type ICommand = interface
interface INotifyPropertyChanged
Public Interface ICommand
Implements INotifyPropertyChanged
- Derived
- Implements
Properties
DisplayName |
Gets the display name for the command, or |
Flags |
Gets the flags associated with the command. |
Id |
Gets a unique id for this command within its command set. |
IsVisible |
Gets a value indicating whether this command is visible or invisible. |
TooltipText |
Gets the tooltip text for the command, or the display name if no tooltip text was provided. |
Methods
InitializeAsync(CancellationToken) |
Completes async initialization of command instance. |
SetVisibilityState(Nullable<Boolean>) |
Set this command as visible, invisible, or |