src/GenFx.Wpf/Controls/ExecutionPanel.xaml.cs
/// <summary>
/// Handles the event when a property within <see cref="ExecutionContext"/> changes.
/// </summary>
/// <param name="sender">Sender of the event.</param>
/// <param name="e">The <see cref="PropertyChangedEventArgs"/> associated with the event.</param>
Handles the event when a property within  changes.
Handles the event when a property within changes .
private void ExecutionContext_PropertyChanged(object sender, PropertyChangedEventArgs e)
        {
            if (e.PropertyName == nameof(ExecutionContext.ExecutionState))
            {
                this.Dispatcher.Invoke(new Action(() =>
                {
                    this.UpdateCanExecuteProperties();
                    CommandManager.InvalidateRequerySuggested();
                }));
            }
        }
private void ExecutionContext_PropertyChanged ( object sender , PropertyChangedEventArgs e ) { if ( e . PropertyName == nameof ( ExecutionContext . ExecutionState ) ) { this . Dispatcher . Invoke ( new Action ( ( ) => { this . UpdateCanExecuteProperties ( ) ; CommandManager . InvalidateRequerySuggested ( ) ; } ) ) ; } }
Handles the event when a property within  changes.
Handles the event when a property within changes .
sender
object
Sender of the event.
Sender of the event .
e
PropertyChangedEventArgs
The  associated with the event.
The associated with the event .