Ejemplo n.º 1
0
        private void EditText_LostFocus(object sender, RoutedEventArgs e)
        {
            EditCompleted?.Invoke();

            EditText.Visibility = Visibility.Collapsed;
            CanTrigger          = true;
        }
Ejemplo n.º 2
0
 void OnEditCompleted(string text)
 {
     EditCompleted?.Invoke(this, new EditCompletedEventArgs(text));
     Dispose();
 }
Ejemplo n.º 3
0
 public void NameEditCompleted()
 {
     EditCompleted?.Invoke(this, new PropertyChangedEventArgs(nameof(Name)));
 }
 /// <summary>
 /// Raises the <see cref="EditCompleted"/> event with the specified event data.
 /// </summary>
 /// <param name="e">The event data.</param>
 protected virtual void OnEditCompleted(EventArgs e) => EditCompleted?.Invoke(this, e);
 /// <summary>
 /// Raises the <see cref="EditCompleted"/> event with the specified event data.
 /// </summary>
 /// <param name="e">The event data.</param>
 protected virtual void OnEditCompleted(EditableContentEventArgs <T> e) => EditCompleted?.Invoke(this, e);