C# 클래스 Outliner.NodesCollection

Collection of selected nodes.
상속: System.Collections.CollectionBase
파일 보기 프로젝트 열기: Pjanssen/Outliner

공개 메소드들

메소드 설명
Add ( TreeNode treeNode ) : int

Adds a tree node to the collection.

Contains ( TreeNode treeNode ) : bool

Determines whether treenode belongs to the collection.

IndexOf ( TreeNode treeNode ) : int

Gets index of tree node in the collection.

Insert ( int index, TreeNode treeNode ) : void

Inserts a tree node at specified index.

Remove ( TreeNode treeNode ) : void

Removed a tree node from the collection.

containsChild ( TreeNode treeNode ) : bool
isParentOfNodeInSel ( TreeNode node ) : bool
this ( int index ) : TreeNode

Gets tree node at specified index.

보호된 메소드들

메소드 설명
OnClear ( ) : void

Occurs when collection is being cleared.

containsChildRec ( TreeNode node, TreeNode t ) : bool

메소드 상세

Add() 공개 메소드

Adds a tree node to the collection.
public Add ( TreeNode treeNode ) : int
treeNode System.Windows.Forms.TreeNode Tree node to add.
리턴 int

Contains() 공개 메소드

Determines whether treenode belongs to the collection.
public Contains ( TreeNode treeNode ) : bool
treeNode System.Windows.Forms.TreeNode Tree node to check.
리턴 bool

IndexOf() 공개 메소드

Gets index of tree node in the collection.
public IndexOf ( TreeNode treeNode ) : int
treeNode System.Windows.Forms.TreeNode Tree node to get index of.
리턴 int

Insert() 공개 메소드

Inserts a tree node at specified index.
public Insert ( int index, TreeNode treeNode ) : void
index int The position into which the new element has to be inserted.
treeNode System.Windows.Forms.TreeNode Tree node to insert.
리턴 void

OnClear() 보호된 메소드

Occurs when collection is being cleared.
protected OnClear ( ) : void
리턴 void

Remove() 공개 메소드

Removed a tree node from the collection.
public Remove ( TreeNode treeNode ) : void
treeNode System.Windows.Forms.TreeNode Tree node to remove.
리턴 void

containsChild() 공개 메소드

public containsChild ( TreeNode treeNode ) : bool
treeNode System.Windows.Forms.TreeNode
리턴 bool

containsChildRec() 보호된 메소드

protected containsChildRec ( TreeNode node, TreeNode t ) : bool
node System.Windows.Forms.TreeNode
t System.Windows.Forms.TreeNode
리턴 bool

isParentOfNodeInSel() 공개 메소드

public isParentOfNodeInSel ( TreeNode node ) : bool
node System.Windows.Forms.TreeNode
리턴 bool

this() 공개 메소드

Gets tree node at specified index.
public this ( int index ) : TreeNode
index int
리턴 System.Windows.Forms.TreeNode