Uređivanje

Dijeli putem


IPreviewCommand Interface

Definition

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)

Applies to