IPreviewCommand Interface
Extends the ICommand interface with the ability to preview a command before executing it.
Namespace: Microsoft.Windows.Input
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Interface IPreviewCommand _
Inherits ICommand
public interface IPreviewCommand : ICommand
public interface class IPreviewCommand : ICommand
type IPreviewCommand =
interface
interface ICommand
end
public interface IPreviewCommand extends ICommand
The IPreviewCommand type exposes the following members.
Methods
Name | Description | |
---|---|---|
CancelPreview | Defines the method that cancels a pending preview. | |
CanExecute | Defines the method that determines whether the command can execute in its current state. (Inherited from ICommand.) | |
Execute | Defines the method to be called when the command is invoked. (Inherited from ICommand.) | |
Preview | Defines the method used to preview the command. |
Top
Events
Name | Description | |
---|---|---|
CanExecuteChanged | Occurs when changes occur that affect whether or not the command should execute. (Inherited from ICommand.) |
Top