Пример #1
0
        private void AyComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            AyComboBox cb = sender as AyComboBox;

            if (cb != null && cb.IsEditable == true && cb.IsDropDownOpen)
            {
                //cb.IsEditable = false;
                //cb.IsEditable = true;
                if (editBox != null)
                {
                    if (editBox.IsFocused)
                    {
                        cb.IsEditable = false;
                        cb.IsEditable = true;
                        cb.Focus();
                    }
                }
            }
        }