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 OnOpeningDropDown(EventArgs e)
        {
            if (!(_listBox.WindowTarget is SafeWindowTarget))
            {
                _listBox.WindowTarget = new SafeWindowTarget(Site, _listBox.WindowTarget);
            }
            if (_listBox.Items.Count > 0)
            {
                SetListBoxIndexForCurrentText();
            }
            base.OnOpeningDropDown(e);
        }
protected override void OnOpeningDropDown ( EventArgs e ) { if ( ! ( _listBox . WindowTarget is SafeWindowTarget ) ) { _listBox . WindowTarget = new SafeWindowTarget ( Site , _listBox . WindowTarget ) ; } if ( _listBox . Items . Count > 0 ) { SetListBoxIndexForCurrentText ( ) ; } base . OnOpeningDropDown ( e ) ; }
Overriden to set up the list index based on current text
Overriden to set up the list index based on current text
// make sure list box is hardened appropriately against exceptions. // if we have a type converter, populate with values
e
EventArgs