Beispiel #1
0
 /// <summary>
 /// Initialises a new instance of the <see cref="GroupedComboBoxColumn"/> class.
 /// </summary>
 public GroupedComboBoxColumn()
 {
     DisplayMember = String.Empty;
     ValueMember   = String.Empty;
     GroupMember   = String.Empty;
     CellTemplate  = new GroupedComboBoxCell();
 }
Beispiel #2
0
        /// <summary>
        /// Returns a copy of the cell.
        /// </summary>
        /// <returns></returns>
        public override object Clone()
        {
            GroupedComboBoxCell that = (GroupedComboBoxCell)base.Clone();

            that.DisplayMember = this.DisplayMember;
            that.ValueMember   = this.ValueMember;
            that.GroupMember   = this.GroupMember;
            that.DataSource    = this.DataSource;
            return(that);
        }
 /// <summary>
 /// Initialises a new instance of the <see cref="GroupedComboBoxColumn"/> class.
 /// </summary>
 public GroupedComboBoxColumn()
 {
     DisplayMember = String.Empty;
     ValueMember = String.Empty;
     GroupMember = String.Empty;
     CellTemplate = new GroupedComboBoxCell();
 }