Пример #1
0
 void INoFocusCandidateFoundEventArgsResolver.Handled(NoFocusCandidateFoundEventArgs e, bool handled) => e.Handled = handled;
Пример #2
0
 FocusInputDeviceKind INoFocusCandidateFoundEventArgsResolver.InputDevice(NoFocusCandidateFoundEventArgs e) => e.InputDevice;
Пример #3
0
 FocusNavigationDirection INoFocusCandidateFoundEventArgsResolver.Direction(NoFocusCandidateFoundEventArgs e) => e.Direction;
Пример #4
0
 bool INoFocusCandidateFoundEventArgsResolver.Handled(NoFocusCandidateFoundEventArgs e) => e.Handled;
Пример #5
0
 /// <summary>
 /// Gets the input device type from which input events are received.
 /// </summary>
 /// <param name="e">The requested <see cref="NoFocusCandidateFoundEventArgs"/>.</param>
 /// <returns>The input device type.</returns>
 public static FocusInputDeviceKind InputDevice(this NoFocusCandidateFoundEventArgs e) => Resolver.InputDevice(e);
Пример #6
0
 object INoFocusCandidateFoundEventArgsResolver.OriginalSource(NoFocusCandidateFoundEventArgs e) => e.OriginalSource;
Пример #7
0
 /// <summary>
 /// Sets a value that marks the routed event as handled. A <c>true</c> value for <see cref="NoFocusCandidateFoundEventArgs.Handled"/>
 /// prevents most handlers along the event route from handling the same event again.
 /// </summary>
 /// <param name="e">The requested <see cref="NoFocusCandidateFoundEventArgs"/>.</param>
 /// <param name="handled">
 /// <c>true</c> to mark the routed event handled. <c>false</c> to leave the routed event unhandled,
 /// which permits the event to potentially route further and be acted on by other handlers.
 /// The default is <c>false</c>.
 /// </param>
 public static void Handled(this NoFocusCandidateFoundEventArgs e, bool handled) => Resolver.Handled(e, handled);
Пример #8
0
 /// <summary>
 /// Gets a value that marks the routed event as handled. A <c>true</c> value for <see cref="NoFocusCandidateFoundEventArgs.Handled"/>
 /// prevents most handlers along the event route from handling the same event again.
 /// </summary>
 /// <param name="e">The requested <see cref="NoFocusCandidateFoundEventArgs"/>.</param>
 /// <returns>
 /// <c>true</c> to mark the routed event handled. <c>false</c> to leave the routed event unhandled,
 /// which permits the event to potentially route further and be acted on by other handlers.
 /// The default is <c>false</c>.
 /// </returns>
 public static bool Handled(this NoFocusCandidateFoundEventArgs e) => Resolver.Handled(e);
Пример #9
0
 /// <summary>
 /// Gets the direction that focus moved from element to element within the app UI.
 /// </summary>
 /// <param name="e">The requested <see cref="NoFocusCandidateFoundEventArgs"/>.</param>
 /// <returns>The direction of focus movement.</returns>
 public static FocusNavigationDirection Direction(this NoFocusCandidateFoundEventArgs e) => Resolver.Direction(e);
Пример #10
0
 /// <summary>
 /// Gets a reference to the object that raised the event.
 /// This is often a template part of a control rather than an element that was declared in your app UI.
 /// </summary>
 /// <param name="e">The requested <see cref="NoFocusCandidateFoundEventArgs"/>.</param>
 /// <returns>The object that raised the event.</returns>
 public static object OriginalSource(this NoFocusCandidateFoundEventArgs e) => Resolver.OriginalSource(e);
Пример #11
0
        private void FrameworkElementNoFocusCandidateFoundHandler(object source, NoFocusCandidateFoundEventArgs e)
        {
            FrameworkElement sourceAsFrameworkElement = (FrameworkElement)source;

            EventOrder.Append("[" + sourceAsFrameworkElement.Name + "NoFocusCandidateFound]");
        }