SourceGrid.Cells.Editors.ComboBox.OnSendCharToEditor C# (CSharp) Méthode

OnSendCharToEditor() protected méthode

protected OnSendCharToEditor ( char key ) : void
key char
Résultat void
        protected override void OnSendCharToEditor(char key)
        {
            if (Control.DropDownStyle == ComboBoxStyle.DropDown)
            {
                Control.Text = key.ToString();
                if (Control.Text != null)
                    Control.SelectionStart = Control.Text.Length;
            }
        }