Ejemplo n.º 1
0
        /// <summary>
        /// Raises the <see cref="E:GotKeyboardFocus"/> event.
        /// </summary>
        /// <param name="e">The KeyboardFocusChangedEventArgs instance containing the event data.</param>
        protected override void OnGotKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs e)
        {
            e.Handled = true;
            RadComboBox parentComboBox = this.ParentComboBox;

            if (parentComboBox != null)
            {
                parentComboBox.NotifyComboBoxItemEnter(this);
            }
            base.OnGotKeyboardFocus(e);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Responds to a MouseEnter event.
        /// </summary>
        /// <param name="e">The MouseEventArgs instance containing the event data.</param>
        protected override void OnMouseEnter(System.Windows.Input.MouseEventArgs e)
        {
            RadComboBox parentComboBox = this.ParentComboBox;

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

            base.OnMouseEnter(e);
        }