C# 클래스 ChocoPM.Commands.RoutedCommandBinding

The base class for CommandBinding types that invoke command logic in locations other than the code behind file.
상속: System.Windows.Input.CommandBinding
파일 보기 프로젝트 열기: RichiCoder1/ChocoPM

보호된 메소드들

메소드 설명
OnCanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void

The method that is called when the CanExecute RoutedEvent for the ICommand associated with this RoutedCommandBinding should be handled. Inheriting types must provide an implementation for this method.

OnExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void

The method that is called when the Executed RoutedEvent for the ICommand associated with this RoutedCommandBinding should be handled. Inheriting types must provide an implementation for this method.

OnPreviewCanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void

The method that is called when the PreviewCanExecute RoutedEvent for the ICommand associated with this RoutedCommandBinding should be handled. Inheriting types must provide an implementation for this method.

OnPreviewExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void

The method that is called when the PreviewExecuted RoutedEvent for the ICommand associated with this RoutedCommandBinding should be handled. Inheriting types must provide an implementation for this method.

RoutedCommandBinding ( ICommand command ) : System.Windows

Initializes a new instance of the RoutedCommandBinding class by using the specified ICommand.

비공개 메소드들

메소드 설명
RoutedCommandBinding ( ) : System.Windows

메소드 상세

OnCanExecute() 보호된 추상적인 메소드

The method that is called when the CanExecute RoutedEvent for the ICommand associated with this RoutedCommandBinding should be handled. Inheriting types must provide an implementation for this method.
protected abstract OnCanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
sender object The command target on which the command is executing.
e System.Windows.Input.CanExecuteRoutedEventArgs The event data.
리턴 void

OnExecuted() 보호된 추상적인 메소드

The method that is called when the Executed RoutedEvent for the ICommand associated with this RoutedCommandBinding should be handled. Inheriting types must provide an implementation for this method.
protected abstract OnExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
sender object The command target on which the command is executing.
e System.Windows.Input.ExecutedRoutedEventArgs The event data.
리턴 void

OnPreviewCanExecute() 보호된 추상적인 메소드

The method that is called when the PreviewCanExecute RoutedEvent for the ICommand associated with this RoutedCommandBinding should be handled. Inheriting types must provide an implementation for this method.
protected abstract OnPreviewCanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
sender object The command target on which the command is executing.
e System.Windows.Input.CanExecuteRoutedEventArgs The event data.
리턴 void

OnPreviewExecuted() 보호된 추상적인 메소드

The method that is called when the PreviewExecuted RoutedEvent for the ICommand associated with this RoutedCommandBinding should be handled. Inheriting types must provide an implementation for this method.
protected abstract OnPreviewExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
sender object The command target on which the command is executing.
e System.Windows.Input.ExecutedRoutedEventArgs The event data.
리턴 void

RoutedCommandBinding() 보호된 메소드

Initializes a new instance of the RoutedCommandBinding class by using the specified ICommand.
protected RoutedCommandBinding ( ICommand command ) : System.Windows
command ICommand
리턴 System.Windows