Esempio n. 1
0
 /// <summary>
 /// Invoked on CanMoveToPrevious changed.
 /// </summary>
 /// <param name="sender">The sender</param>
 /// <param name="e">The event args</param>
 protected virtual void OnCanMoveToPreviousChanged(object sender, CanMoveToEventArgs e)
 {
     moveToFirstCommand?.RaiseCanExecuteChanged();
     moveToPreviousCommand?.RaiseCanExecuteChanged();
 }
Esempio n. 2
0
 /// <summary>
 /// Invoked on CanMoveToNext changed.
 /// </summary>
 /// <param name="sender">The sender</param>
 /// <param name="e">The event args</param>
 protected virtual void OnCanMoveToNextChanged(object sender, CanMoveToEventArgs e)
 {
     moveToLastCommand?.RaiseCanExecuteChanged();
     moveToNextCommand?.RaiseCanExecuteChanged();
 }