Microsoft.Windows.Controls.Ribbon.RibbonMenuButton.OnGotKeyboardFocusThunk C# (CSharp) Метод

OnGotKeyboardFocusThunk() приватный Метод

private OnGotKeyboardFocusThunk ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
e System.Windows.Input.KeyboardFocusChangedEventArgs
Результат void
        private void OnGotKeyboardFocusThunk(KeyboardFocusChangedEventArgs e)
        {
            // Call base.OnIsKeyboardFocusWithinChanged only if the new focus
            // is not a direct descendant of menu button.
            if (e.OriginalSource != this &&
                !TreeHelper.IsVisualAncestorOf(this, e.OriginalSource as DependencyObject))
            {
                BaseOnIsKeyboardFocusWithin();
            }
        }

Same methods

RibbonMenuButton::OnGotKeyboardFocusThunk ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void