TreeDataStructureT Class

Generic model for containing data in a hierarchical tree structure.

Definition

Namespace: Aliquo.Windows.Base
Assembly: Aliquo.Windows (in Aliquo.Windows.dll) Version: 5.0.9179.22654
C#
public class TreeDataStructure<T> : BindableCore
Inheritance
Object    BindableCore    TreeDataStructureT

Type Parameters

T
The underlying data type of the generic type TreeDataStructureT

Constructors

TreeDataStructureT Class constructor.
TreeDataStructureT(T) Class constructor.

Properties

Checked Indicates if the item is checked.
Children Collection of child elements.
Data Gets or sets the underlying data assigned to the type T.
HasChildren Indicates whether it contains child elements.
IsDirty Indicates if the element has been changed since its initial load.
IsExpanded Indicates whether the element is displayed expanded in the tree view.
Level Gets the current level represented in the tree view.
Parent Reference of the parent element to which it belongs.

Methods

AddChild Adds or inserts an element to the collection of child elements.
RemoveChild Removes an element from the collection of child elements

Extension Methods

GetAttributeFromT Get attribute from a class.
(Defined by ObjectExtensions)
ParentsT Gets the ancestors of the element.
(Defined by TreeDataStructureExtensions)
ValidateDataAnnotations Validate class with validator of DataAnnotations.
(Defined by ObjectExtensions)

See Also