Latest News

  • Super Tower Defense Game
    Mar 10, 2010

    New to the games section is the new Super Tower Defense game. Defend your base from the ever advancing army of tanks, buggies...

  • New Rich Text Editor User Control
    Feb 19, 2010

    By popular request, here we present a re-usable User Control containing the Liquid RichTextBox along with the most common formatting functions included.

  • Silverlight 3 Controls V5.2.7 Released
    Feb 19, 2010

    This release includes several fixes for issues raised in the forum. The main improvement is to the RichTextBox which now provides access and methods to the document elements allowing...

  • Super Shoot Em Up Game
    Feb 04, 2010

    Added to the games section is the new Super Shoot 'Em Up game. Take control of a tank with your aim being to blow up your opposing tanks and collect all the powerups.

  • Silverlight 3 Controls V5.2.6 Released
    Feb 04, 2010

    This release includes some minor fixes for several forum posts. Please see the notes on the download page for full details on what has changed.

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.

No documentation is available currently for this control.

Property NameTypeDescription

 

Methods for Liquid.TreeView

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

No methods are available for this class.

Method NameDescriptionParameters

Properties for Liquid.Node

Below are the available properties complete with descriptions.

Property NameTypeDescription
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 NameDescriptionParameters
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.

Silverlight Controls

  • Rich TextBox

    Create and edit rich content with this slick and expandable Rich TextBox...

  • TreeView

    This easy to use TreeView comes with drag and drop, sorting, searching and much more...

  • Context Menu

    You too can have cool popup context menus in your Silverlight applications...

  • Resizable Dialog

    Draggable and resizable popup dialogs are what serious Silverlight developers need...

  • Spell Checker

    Real-time spell checking in Silverlight? We did it first here...