internal virtual void Update(TreeList treelist, TreeListItem parent, int level) { if (TreeList == null) { TreeList = treelist; Parent = parent; for (var i = Cells.Count; i < TreeList.Columns.Count; i++) { Cells.Add(new TreeListCell()); } for (var i = 0; i < TreeList.Columns.Count; i++) { Cells[i].Update(this, i); } for (var i = 0; i < Items.Count; i++) { Items[i].Update(treelist, this, level + 1); } } }
internal TreeListEditController(TreeList treelist) { this.treelist = treelist; }
/// <summary> /// 初始化 <see cref="TreeListCheckedItemCollection"/> 类的新实例。 /// </summary> /// <param name="treelist"></param> internal TreeListCheckedItemCollection(TreeList treelist) { _treelist = treelist; }
/// <summary> /// 设置需要下拉显示的 <see cref="TreeList"/> 控件。 /// </summary> /// <param name="treelist"></param> public void SetTreeList(TreeList treelist) { tree = treelist; DropDownControl = treelist; }
protected override void OnPopupOpened() { TreeList.Focus(); }
internal TreeListColumnCollection(TreeList treelist) { this.treelist = treelist; }
internal void Update(TreeList treelist) { TreeList = treelist; Items = new TreeListItemCollection(treelist, null, 0); }
internal TreeListItemCollection(TreeList treelist, TreeListItem parent, int level) { _treelist = treelist; _parent = parent; _level = level; }
public TreeListBound(TreeList treeList) { this.treeList = treeList; }
internal TreeListRowNumberRenderEventArgs(TreeList treeList, int index, Graphics graphics, Rectangle rect) : base(graphics, rect) { TreeList = treeList; Index = index; }
internal TreeListItemCollection(TreeList treelist, TreeListItem parent, int level) { this.treelist = treelist; this.parent = parent; this.level = level; }
internal TreeListRenderEventArgs(TreeList treelist, Graphics graphics, Rectangle rect) : base(graphics, rect) { TreeList = treelist; }
internal ToolTipWrapper(TreeList treelist) { this.treelist = treelist; }
public TreeListBound(TreeList treeList) { _treeList = treeList; }
internal TreeListGroupCollection(TreeList treelist) { this.treelist = treelist; }
/// <summary> /// 初始化 <see cref="TreeListSelectedItemCollection"/> 类的新实例。 /// </summary> /// <param name="treelist"></param> internal TreeListSelectedItemCollection(TreeList treelist) { this.treelist = treelist; }