public override object Clone() { object o=base.Clone(); DataGridViewNumericUpDownCell c=o as DataGridViewNumericUpDownCell; if(c==null) return o; c.DecimalPlaces=DecimalPlaces; c.Hexadecimal=Hexadecimal; c.Increment=Increment; c.Minimum=Minimum; c.Maximum=Maximum; return c; }
public DataGridViewNumericUpDownColumn() : base(new DataGridViewNumericUpDownCell()) { Template=CellTemplate as DataGridViewNumericUpDownCell; }