Click or drag to resize

TreeModel Class

Provides a simple ready to use implementation of ITreeModel. Warning: this class is not optimized to work with big amount of data. In this case create you own implementation of ITreeModel, and pay attention on GetChildren and IsLeaf methods.
Inheritance Hierarchy
SystemObject
  Internal.Aga.Controls.TreeTreeModel

Namespace: Internal.Aga.Controls.Tree
Assembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public class TreeModel : ITreeModel

The TreeModel type exposes the following members.

Constructors
 NameDescription
Public methodTreeModelInitializes a new instance of the TreeModel class
Top
Properties
 NameDescription
Public propertyNodes 
Public propertyRoot 
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFindNode 
Public methodGetChildren 
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetPath 
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsLeaf 
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnNodeInserted 
Protected methodOnNodeRemoved 
Protected methodOnNodesChanged 
Public methodOnStructureChanged 
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also