src/Misc/EFTools/DesignXmlCore/VirtualTreeGrid/DropDownControl.cs
/// <summary>
///     Overriden to set up the list index based on current text
/// </summary>
Overriden to set up the list index based on current text
Overriden to set up the list index based on current text
protected override void OnTextChanged(EventArgs e)
        {
            base.OnTextChanged(e);
            if (_listBox.Items.Count > 0
                && (_listBox.SelectedIndex == -1
                    || String.Compare(_listBox.Items[_listBox.SelectedIndex].ToString(), Text, true, CultureInfo.CurrentUICulture) != 0))
            {
                SetListBoxIndexForCurrentText();
            }
        }
protected override void OnTextChanged ( EventArgs e ) { base . OnTextChanged ( e ) ; if ( _listBox . Items . Count > 0 && ( _listBox . SelectedIndex == - 1 || String . Compare ( _listBox . Items [ _listBox . SelectedIndex ] . ToString ( ) , Text , true , CultureInfo . CurrentUICulture ) != 0 ) ) { SetListBoxIndexForCurrentText ( ) ; } }
Overriden to set up the list index based on current text
Overriden to set up the list index based on current text
// ensure that list box index is set appropriately
e
EventArgs