| Visual Basic (Declaration) | |
|---|---|
Public Class NodeLevelOverridesCollection Inherits SubObjectsCollectionBase | |
| C# | |
|---|---|
public class NodeLevelOverridesCollection : SubObjectsCollectionBase | |
This collection supports lazy creates. This means that items in the collection can be referenced without explicitly calling the Add Method and no error will be generated. The items will automatically be created as needed.
Each Override in the collection affects all nodes in the UltraTree whose level matches the Index of the item in the collection. So NodeLevelOverrides(0) applies to all root nodes, NodeLevelOverrides(1) applies to all children of the root, NodeLevelOverrides(2) applies to greanchildren of the root, and so on.
This collection is not limited by the actual nodes in the UltraTree. It is possible to create a NodeLevelOverride with an index higher than the number of levels in the UltraTree.
| Visual Basic | Copy Code |
|---|---|
Imports Infragistics.Win | |
| C# | Copy Code |
|---|---|
using Infragistics.Win; | |



