Design Pattern Framework 3.5
OnExecute Method (sender, e)
Patterns-In-Action! Application ► WPFViewModel ► CommandModel ► OnExecute(Object, ExecutedRoutedEventArgs)
Abstract method to execute the command. Needs implementation.
Declaration Syntax
C# | Visual Basic |
public abstract void OnExecute( Object sender, ExecutedRoutedEventArgs e )
Public MustOverride Sub OnExecute ( _ sender As Object, _ e As ExecutedRoutedEventArgs _ )
Parameters
- sender (Object)