/// <summary>
        /// Returns a copy of the cell.
        /// </summary>
        /// <returns></returns>
        public override object Clone()
        {
            ComboTreeBoxCell that = (ComboTreeBoxCell)base.Clone();

            that.UseColumnNodes = this.UseColumnNodes;
            that._nodes.AddRange(this._nodes);
            return(that);
        }
 /// <summary>
 /// Initialises a new instance of the <see cref="ComboTreeBoxColumn"/> class.
 /// </summary>
 public ComboTreeBoxColumn()
 {
     PathSeparator       = ComboTreeBox.DEFAULT_PATH_SEPARATOR;
     UseNodeNamesForPath = false;
     Nodes = new ComboTreeNodeCollection(null);
     ExpandedImageIndex = ImageIndex = 0;
     ExpandedImageKey   = ImageKey = String.Empty;
     CellTemplate       = new ComboTreeBoxCell();
 }
Пример #3
0
 /// <summary>
 /// Initialises a new instance of the <see cref="ComboTreeBoxColumn"/> class.
 /// </summary>
 public ComboTreeBoxColumn()
 {
     PathSeparator = ComboTreeBox.DEFAULT_PATH_SEPARATOR;
     UseNodeNamesForPath = false;
     Nodes = new ComboTreeNodeCollection(null);
     ExpandedImageIndex = ImageIndex = 0;
     ExpandedImageKey = ImageKey = String.Empty;
     CellTemplate = new ComboTreeBoxCell();
 }