Ejemplo n.º 1
0
        public void Cancel()
        {
            IsEditable   = false;
            needsRefresh = true;

            EditCanceled?.Invoke();
        }
 /// <summary>
 /// Raises the <see cref="EditCanceled"/> event with the specified event data.
 /// </summary>
 /// <param name="e">The event data.</param>
 protected virtual void OnEditCanceled(EventArgs e) => EditCanceled?.Invoke(this, e);
 /// <summary>
 /// Raises the <see cref="EditCanceled"/> event with the specified event data.
 /// </summary>
 /// <param name="e">The event data.</param>
 protected virtual void OnEditCanceled(EditableContentEventArgs <T> e) => EditCanceled?.Invoke(this, e);