Summary
Creates containers for tree items and maintains a list of created containers.
- Namespace
- Avalonia
.Controls .Generators - Interfaces
- Base Types
graph BT
Type-->Base0["ItemContainerGenerator<T>"]
Base0-->Base1["ItemContainerGenerator"]
click Base1 "/api/Avalonia.Controls.Generators/ItemContainerGenerator"
Base1-->Base2["object"]
Type-.->Interface0["ITreeItemContainerGenerator"]
click Interface0 "/api/Avalonia.Controls.Generators/ITreeItemContainerGenerator"
Type-.->Interface1["IItemContainerGenerator"]
click Interface1 "/api/Avalonia.Controls.Generators/IItemContainerGenerator"
Type["TreeItemContainerGenerator<T>"]
class Type type-node
Syntax
public class TreeItemContainerGenerator<T> : ItemContainerGenerator<T>,
ITreeItemContainerGenerator, IItemContainerGenerator
where T : class, IControl, new()
Type Parameters
Name | Description |
---|---|
T | The type of the container. |
Constructors
Name | Summary |
---|---|
Tree |
Initializes a new instance of the TreeItemContainerGenerator<T> class.
|
Events
Name | Type | Summary |
---|---|---|
Dematerialized | EventHandler |
Event raised whenever containers are dematerialized.
Inherited from Item
|
Materialized | EventHandler |
Signaled whenever new containers are materialized.
Inherited from Item
|
Recycled | EventHandler |
Event raised whenever containers are recycled.
Inherited from Item
|
Properties
Name | Value | Summary |
---|---|---|
Containers | IEnumerable |
Gets the currently realized containers.
Inherited from Item
|
Index | TreeContainerIndex |
Gets the container index for the tree.
|
IsExpandedProperty | AvaloniaProperty |
Gets the item container's IsExpanded property.
|
ItemsProperty | AvaloniaProperty |
Gets the item container's Items property.
|
ItemTemplate | IDataTemplate |
Gets or sets the data template used to display the items in the control.
Inherited from Item
|
Owner | IControl |
Gets the owner control.
Inherited from Item
|