SourceGrid.Cells.Editors.ComboBox.OnSendCharToEditor C# (CSharp) 메소드

OnSendCharToEditor() 보호된 메소드

protected OnSendCharToEditor ( char key ) : void
key char
리턴 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;
            }
        }