Esempio n. 1
0
        /// <summary> Responds to a <see cref="E:System.Windows.UIElement.MouseEnter" /> event. </summary>
        /// <param name="e">Provides data for <see cref="T:System.Windows.Input.MouseEventArgs" />.</param>
        // Token: 0x060043BE RID: 17342 RVA: 0x0013594C File Offset: 0x00133B4C
        protected override void OnMouseEnter(MouseEventArgs e)
        {
            e.Handled = true;
            ComboBox parentComboBox = this.ParentComboBox;

            if (parentComboBox != null)
            {
                parentComboBox.NotifyComboBoxItemEnter(this);
            }
            base.OnMouseEnter(e);
        }
Esempio n. 2
0
        /// <summary>Announces that the keyboard is focused on this element. </summary>
        /// <param name="e">Keyboard input event arguments.</param>
        // Token: 0x060043C0 RID: 17344 RVA: 0x001359BC File Offset: 0x00133BBC
        protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
        {
            e.Handled = true;
            ComboBox parentComboBox = this.ParentComboBox;

            if (parentComboBox != null)
            {
                parentComboBox.NotifyComboBoxItemEnter(this);
            }
            base.OnGotKeyboardFocus(e);
        }