コード例 #1
0
 /// <summary>
 /// Initialize a new instance of the KryptonDataGridViewComboBoxColumn class.
 /// </summary>
 public KryptonDataGridViewComboBoxColumn()
     : base(new KryptonDataGridViewComboBoxCell())
 {
     ButtonSpecs = new DataGridViewColumnSpecCollection(this);
     Items       = new List <object>();
     AutoCompleteCustomSource = new AutoCompleteStringCollection();
 }
コード例 #2
0
 /// <summary>
 /// Initialize a new instance of the KryptonDataGridViewDateTimePickerColumn class.
 /// </summary>
 public KryptonDataGridViewDateTimePickerColumn()
     : base(new KryptonDataGridViewDateTimePickerCell())
 {
     ButtonSpecs   = new DataGridViewColumnSpecCollection(this);
     _annualDates  = new DateTimeList();
     _monthlyDates = new DateTimeList();
     _dates        = new DateTimeList();
 }
コード例 #3
0
 /// <summary>
 /// Initialize a new instance of the KryptonDataGridViewMaskedTextBoxColumn class.
 /// </summary>
 public KryptonDataGridViewMaskedTextBoxColumn()
     : base(new KryptonDataGridViewMaskedTextBoxCell())
 {
     ButtonSpecs = new DataGridViewColumnSpecCollection(this);
 }
コード例 #4
0
 /// <summary>
 /// Initialize a new instance of the KryptonDataGridViewNumericUpDownColumn class.
 /// </summary>
 public KryptonDataGridViewNumericUpDownColumn()
     : base(new KryptonDataGridViewNumericUpDownCell())
 {
     ButtonSpecs = new DataGridViewColumnSpecCollection(this);
 }
コード例 #5
0
 /// <summary>
 /// Initialize a new instance of the KryptonDataGridViewDomainUpDownColumn class.
 /// </summary>
 public KryptonDataGridViewDomainUpDownColumn()
     : base(new KryptonDataGridViewDomainUpDownCell())
 {
     ButtonSpecs = new DataGridViewColumnSpecCollection(this);
     Items       = new StringCollection();
 }
コード例 #6
0
 /// <summary>
 /// Initialize a new instance of the KryptonDataGridViewTextBoxColumn class.
 /// </summary>
 public KryptonDataGridViewTextBoxColumn()
     : base(new KryptonDataGridViewTextBoxCell())
 {
     ButtonSpecs = new DataGridViewColumnSpecCollection(this);
     SortMode    = DataGridViewColumnSortMode.Automatic;
 }