IPreviewCommand 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.
Provides methods for previewing commands without actually committing the action.
public interface class IPreviewCommand : System::Windows::Input::ICommand
public interface IPreviewCommand : System.Windows.Input.ICommand
type IPreviewCommand = interface
interface ICommand
Public Interface IPreviewCommand
Implements ICommand
- Implements
Methods
CancelPreview() |
Defines a method to be called to cancel previewing a command. |
CanExecute(Object) |
Determines whether the command can execute in its current state. (Inherited from ICommand) |
Execute(Object) |
Defines the method to be called when the command is invoked. (Inherited from ICommand) |
Preview(Object) |
Defines a method to be called when a command is previewed. |
Events
CanExecuteChanged |
Occurs when changes take place that affect whether or not the command should execute. (Inherited from ICommand) |