Property | Type | Description | |
---|---|---|---|
FireAddingChild | void | ||
FireChildAdded | void | ||
FireChildRemoved | void | ||
FireChildSelectionChanged | void | ||
FireChildrenChanged | void | ||
FireClick | void | ||
FireRemovingChild | void | ||
FireSelectionChanged | void | ||
FromDictionary | |||
GetRoot | ITreeNode | ||
IsDescendent | bool | ||
OnChildSelectionChanged | void | ||
SetParent | void | ||
ToDictionary | System.Collections.Dictionary |
Method | Description | |
---|---|---|
AddChild ( ITreeNode node ) : void | ||
ChildAt ( int index ) : ITreeNode | ||
ClearChildren ( ) : void | ||
Contains ( ITreeNode node ) : bool | ||
ContainsDescendent ( ITreeNode node ) : bool | ||
FromJson ( string json, TreeNodeFactory factory ) : |
Creates a new instance of the node from JSON.
|
|
InsertChild ( int index, ITreeNode node ) : void | ||
RemoveChild ( ITreeNode node ) : void | ||
ToJson ( ) : string | ||
ToString ( ) : string |
Method | Description | |
---|---|---|
OnDisposed ( ) : void | ||
OnIsSelectedChanged ( ) : void |
Invoked after the 'IsSelected' property changes.
|
|
SerializingJson ( System.Collections.Dictionary node ) : void |
Allows deriving classes to suppliment the dictionary used for JSON serialization. Use this to add custom properties only. Do not worry about the Children collection. |
Method | Description | |
---|---|---|
FireAddingChild ( |
||
FireChildAdded ( |
||
FireChildRemoved ( |
||
FireChildSelectionChanged ( ) : void | ||
FireChildrenChanged ( ) : void | ||
FireClick ( ) : void | ||
FireRemovingChild ( |
||
FireSelectionChanged ( ) : void | ||
FromDictionary ( System.Collections.Dictionary dic, TreeNodeFactory factory ) : |
||
GetRoot ( ) : ITreeNode | ||
IsDescendent ( ITreeNode parent, ITreeNode node ) : bool | ||
OnChildSelectionChanged ( object sender, |
||
SetParent ( ITreeNode node, ITreeNode value ) : void | ||
ToDictionary ( ) : System.Collections.Dictionary |
public ContainsDescendent ( ITreeNode node ) : bool | ||
node | ITreeNode | |
return | bool |
public static FromJson ( string json, TreeNodeFactory factory ) : |
||
json | string | The JSON string to parse. |
factory | TreeNodeFactory | The factory method for creating new nodes. |
return |
public InsertChild ( int index, ITreeNode node ) : void | ||
index | int | |
node | ITreeNode | |
return | void |
protected SerializingJson ( System.Collections.Dictionary node ) : void | ||
node | System.Collections.Dictionary | The dictionary representing the node to process. |
return | void |