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

CancelEditing() public method

Stops editing the Cell and ignores any changes
public CancelEditing ( ) : void
return void
        public override void CancelEditing()
        {
            this.TextBox.KeyPress -= new KeyPressEventHandler(OnKeyPress);
            this.TextBox.LostFocus -= new EventHandler(OnLostFocus);

            base.CancelEditing();

            this.DroppedDown = false;

            this.parentForm = null;
        }