Silverlight Tree Control

The Tree control exposes several properties for controlling various aspects of the tree and its behaviour.

Properties for Liquid.TreeView

Below are the available properties complete with descriptions.

Property Name
Type
Description

No documentation is available currently for this control.

 

Methods for Liquid.TreeView

Below are the available methods, complete with parameters and descriptions.

Method Name
Description
Parameters

No methods are available for this class.


Properties for Liquid.Node

Below are the available properties complete with descriptions.

Property Name
Type
Description
VisualRoot
Panel
Gets the root Panel object for this control.
Base
Tree
Gets or sets the base Tree control.
Nodes
ObservableCollection`1
Gets a collection of child nodes.
EnableCheckboxes
Boolean
Gets or sets whether the node should have a checkbox.
IsEditable
Boolean
Gets or sets whether the node text is editable.
ParentNode
Node
Gets or sets the parent node.
Title
String
Gets or sets the node text.
EditedTitle
String
Gets or sets the edited node title.
Icon
String
Gets or sets the image URL when the node is not expanded.
IconExpanded
String
Gets or sets the image URL when the node is expanded.
IsExpanded
Boolean
Gets or sets whether the node is expanded.
HasChildren
Boolean
Gets or sets whether the node has children.
ChildrenLoaded
Boolean
Gets or sets whether the child nodes have been loaded.
IsSelected
Boolean
Gets or sets whether the node is selected.
OverallHeight
Double
Gets or sets the height of the node.
IsChecked
Nullable`1
Gets or sets the nodes checked status.
ChildrenInheritCheckboxVisibility
Boolean
Gets or sets whether child checkbox visibility setting is taken from it's parent.
IsContainer
Boolean
Gets or sets whether this node can have children.
Popup
Object
Gets or sets the popup content.
IsBusy
Boolean
Gets or sets whether this node is busy, this sets the busy animation.
Top
Node
Gets the root node.
TemplateApplied
Boolean
Gets or sets whether OnApplyTemplate() has been called.
IsLabel
Boolean
Gets or sets whether the node can be selected.

 

Methods for Liquid.Node

Below are the available methods, complete with parameters and descriptions.

Method Name
Description
Parameters
Sort(SortActions)
Sorts the child nodes by the node title.
Sort(Boolean, Comparison<Node>)
Sorts the child nodes by the node title.

Parameters

sortAll
Indicates whether descendant nodes should also be sorted
comparer
The sort compare method

 

Find(String)
Iterates through the this and all child nodes looking for a node with the provided terms in the title text.

Parameters

terms
Search terms
Returns: Matching collection of nodes

 

Get(String)
Iterates through all child nodes looking for a node with the matching ID.

Parameters

id
ID of the node to get
Returns: A matching Node or null

 

CheckAll()
Checks the current and all child node checked state.
Clear()
Removes all child nodes from the tree.
ClearAllChecked()
Clears the current and all child node checked state.
GetAllChecked()
Gets all checked nodes.

Parameters

Returns:

 

BulkUpdateBegin()
You can call this method when adding large numbers of child nodes, this significantly increases performance you must call BulkInsertEnd() when you have finished adding nodes.
BulkUpdateEnd()
This method must be called when you have finished adding nodes and have previously called BulkInsertBegin().
Expand()
Expands the node, firing off events to populate child nodes.
ExpandOut()
Expands all the parent nodes of this node.
ExpandAll()
Expands all nodes.
ExpandAll(List<Node>)
Expands all child nodes of the provided parent nodes.
Collapse()
Collapses the node, child nodes are hidden.
CollapseAll()
Collapses all nodes.
Delete()
Deletes the current node, this removes the node from the parent nodes collection.
DeleteChild(String)
Removes an individual child node.

Parameters

id
Node ID to remove

 

SelectChild(String)
Selects a specific node.

Parameters

id
The ID of the node to select

 

Refresh()
Removes all the child nodes and calls Populate() to re-populate the node.
SwapPrevious()
Swaps the current node instance with the node above.
SwapNext()
Swaps the current node instance with the node below.
Previous()
Gets the previous node.

Parameters

Returns: Node object

 

Next()
Gets the next node.

Parameters

Returns: Node object

 

GetChild(String)
Gets a node with the matching ID.

Parameters

id
Node ID
Returns: Node

 

GetChild(Int32)
Gets a node at a given index.

Parameters

index
Node index
Returns:

 

IndexOfPrevious()
Returns the index of the 'previous' node. This is the node above the current node instance in the tree.

Parameters

Returns: The index of the requested node or -1 if the node could not be found

 

IndexOfNext()
Returns the index of the 'next' node. This is the node below the current node instance in the tree.

Parameters

Returns: The index of the requested node or -1 if the node could not be found

 

IndexOfChild(String)
Returns the index of a specific node.

Parameters

id
The ID of the node to locate
Returns: The index of the requested node or -1 if the node could not be found

 

SortContainersFirstCallback(Node, Node)
Sort method for sorting by title with all containers first.

Parameters

a
Node a
b
Node b
Returns: Sort value

 

SortCallback(Node, Node)
Sort method for sorting by title.

Parameters

a
Node a
b
Node b
Returns: Sort value

 

SortReverseContainersFirstCallback(Node, Node)
Sort method for sorting by title.

Parameters

a
Node a
b
Node b
Returns: Sort value

 

SortReverseCallback(Node, Node)
Sort method for sorting by title.

Parameters

a
Node a
b
Node b
Returns: Sort value

 

DisableChildUpdates()
Disables updates to the child node collection.
EnableChildUpdates()
This method must be called when you have finished adding nodes and have previously called BulkInsertBegin().
OnApplyTemplate()
This is called when the template has been bound to the control.
 
 
Latest Games
Zombie Escape
Apr 19, 2016
Plays: 2,741

Zombie Escape ScreenshotDrive fast before the crazy mutant zombies get you!

6 Ratings/4.1 Average
Car Parking
Jan 16, 2016
Plays: 2,592

Car Parking ScreenshotGuide the car to its parking space in this fun Car Parking game.

1 Rating/5 Average
Trash It
Jan 11, 2016
Plays: 2,459

Trash It ScreenshotAim for the Trash Can and get the various items of Trash in the bin.

4 Ratings/5 Average
Sky Fly
Jan 11, 2016
Plays: 2,667

Sky Fly ScreenshotFly your plane in this colorful vertical scrolling shoot-em-up. Blast the bad guys and collect any bonus's they leave behind.

1 Rating/5 Average
Professor Snappy
Jan 11, 2016
Plays: 2,137

Professor Snappy ScreenshotPop as many bubbles as possible in this fun and colorful bubble popping game. The levels start off easy enough but gradually get harder!

1 Rating/5 Average
Monster Match Saga
Jan 10, 2016
Plays: 2,461

Monster Match Saga ScreenshotHere we have a bunch of monsters that need to be matched up. Look out for the bomb and spinning monsters that will cause special damage!

3 Ratings/4.6 Average
Fly Bird Fly
Jan 10, 2016
Plays: 2,288

Fly Bird Fly ScreenshotGuide your friendly Bird through the maze of pipes and other obstacles collecting the Stars in this cool arcade game inspired by the legendary Flappy Bird.

1 Rating/5 Average
Life In One
Jan 10, 2016
Plays: 2,465

Life In One ScreenshotYou are stranded on an Alien planet. Your goal is to build a space rocket and escape. Start by building units to create power and mine the metal patches. Build defenses to defend your base from the advancing Aliens and Zombies!

2 Ratings/3 Average
X Pool
Jan 02, 2016
Plays: 3,099

X Pool ScreenshotPlay Pool against the computer or battle against your friends in the online mode!

3 Ratings/3 Average
Fruit Slicer
Jan 02, 2016
Plays: 2,172

Fruit Slicer ScreenshotSlice the fruit that is thrown up onto the screen. Slice the fruit into multiple pieces for maximum points!

1 Rating/5 Average