Exemplo n.º 1
0
 void ITextControlCuttingToClipboardEventArgsResolver.Handled(TextControlCuttingToClipboardEventArgs e, bool handled) => e.Handled = handled;
Exemplo n.º 2
0
 /// <summary>
 /// Sets a value that marks the routed event as handled.
 /// A <c>true</c> value for Handled prevents most handlers along the event route from handling the same event again.
 /// </summary>
 /// <param name="e">The requested <see cref="TextControlCuttingToClipboardEventArgs"/>.</param>
 /// <param name="handled">
 /// <c>true</c> to mark the routed event handled.
 /// <c>false</c> to leave the routed event unhandled, which causes the default cut action to be performed.
 /// The default is <c>false</c>.
 /// </param>
 public static void Handled(this TextControlCuttingToClipboardEventArgs e, bool handled) => Resolver.Handled(e, handled);
Exemplo n.º 3
0
 bool ITextControlCuttingToClipboardEventArgsResolver.Handled(TextControlCuttingToClipboardEventArgs e) => e.Handled;
Exemplo n.º 4
0
 /// <summary>
 /// Gets a value that marks the routed event as handled.
 /// A <c>true</c> value for Handled prevents most handlers along the event route from handling the same event again.
 /// </summary>
 /// <param name="e">The requested <see cref="TextControlCuttingToClipboardEventArgs"/>.</param>
 /// <returns>
 /// <c>true</c> to mark the routed event handled.
 /// <c>false</c> to leave the routed event unhandled, which causes the default cut action to be performed.
 /// The default is <c>false</c>.
 /// </returns>
 public static bool Handled(this TextControlCuttingToClipboardEventArgs e) => Resolver.Handled(e);