private void ButtonCancel_Click(object sender, RoutedEventArgs e)
 {
     CancelEdit?.Invoke(this, EventArgs.Empty);
 }
示例#2
0
 /// <summary>
 /// Triggers the <see cref="CancelEdit"/> event.
 /// </summary>
 /// <param name="e">Cell event arguments</param>
 protected virtual void OnCancelEdit(CellEventArgs e) => CancelEdit?.Invoke(this, e);
示例#3
0
 public void handleCancel()
 {
     CancelEdit?.Invoke(this, Base);
 }
示例#4
0
 /// <summary>
 /// Raises the CancelEdit event.
 /// </summary>
 protected void OnCancel()
 {
     CancelEdit?.Invoke(this, new EventArgs());
 }