public NumeroDataGridViewColumn()
        {
            TNumEditDataGridViewCell cell = new TNumEditDataGridViewCell();

            base.CellTemplate = cell;

            base.SortMode = DataGridViewColumnSortMode.Automatic;
            base.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight;
        }
        public override object Clone()
        {
            TNumEditDataGridViewCell dataGridViewCell = base.Clone() as TNumEditDataGridViewCell;

            if (dataGridViewCell != null)
            {
                dataGridViewCell.DecimalLength    = this.DecimalLength;
                dataGridViewCell.AllowNegative    = this.AllowNegative;
                dataGridViewCell.ShowNullWhenZero = this.ShowNullWhenZero;
            }
            return(dataGridViewCell);
        }