Version: 2020.1
언어: 한국어

TreeView.GetDescendantsThatHaveChildren

매뉴얼로 전환
protected IList<int> GetDescendantsThatHaveChildren (int id);

파라미터

id TreeViewItem ID.

반환

IList<int> Descendants that have children.

설명

Returns all descendants for the item with ID id that have children.

It is used for expanding entire sub-trees. It is called automatically from some TreeView methods. If the full item tree has not been built in BuildRoot(), then override this method and use your back-end data to find the correct descendants for the given item.


Default behavior: The item with ID id is found by searching from the rootItem through all its descendants. Once found, all its descendants that have children are collected. Assumes the full tree has been built.

See Also: GetAncestors.