ZForge.Controls.XPTable.Editors.DropDownCellEditor.DropDownCellEditor C# (CSharp) Method

DropDownCellEditor() public method

Initializes a new instance of the DropDownCellEditor class with default settings
public DropDownCellEditor ( ) : System
return System
        public DropDownCellEditor()
            : base()
        {
            TextBox textbox = new TextBox();
            textbox.AutoSize = false;
            textbox.BackColor = SystemColors.Window;
            textbox.BorderStyle = BorderStyle.None;
            textbox.MouseEnter += new EventHandler(textbox_MouseEnter);
            this.Control = textbox;

            this.dropDownContainer = new DropDownContainer(this);

            this.droppedDown = false;
            this.DropDownStyle = DropDownStyle.DropDownList;
            this.dropDownWidth = -1;

            this.parentForm = null;
            this.activationListener = new ActivationListener(this);
            this.containsMouse = false;
        }