/// <summary> /// The can move focus. /// </summary> /// <param name="direction"> The direction. </param> /// <param name="reachedMax"> The reached max. </param> /// <returns> The <see cref="bool"/>. </returns> private bool CanMoveFocus(FocusNavigationDirection direction, bool reachedMax) { QueryMoveFocusEventArgs e = new QueryMoveFocusEventArgs(direction, reachedMax); this.RaiseEvent(e); return(e.CanMoveFocus); }
/// <summary> /// The can move focus. /// </summary> /// <param name="direction"> The direction. </param> /// <param name="reachedMax"> The reached max. </param> /// <returns> The <see cref="bool"/>. </returns> private bool CanMoveFocus(FocusNavigationDirection direction, bool reachedMax) { QueryMoveFocusEventArgs e = new QueryMoveFocusEventArgs(direction, reachedMax); this.RaiseEvent(e); return e.CanMoveFocus; }