Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Definition
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
Inherits BaseObservable
Implements ITreeContent
The TreeContent class provides a way to manage tree-like structures in the Command Palette Extensions Toolkit. It allows for the organization of content in a hierarchical manner, making it easier to navigate and manage complex data structures.
Properties
Property | Type | Description |
---|---|---|
Children | IContent[] | The child content items of the tree node. |
RootContent | IContent | The root content item of the tree. |
Events
Event | Description |
---|---|
Windows.Foundation.TypedEventHandler<object, IItemsChangedEventArgs> ItemsChanged | Occurs when the items in the tree content change. This event is used to notify subscribers about changes in the tree structure, such as additions or removals of child items. |
Methods
Method | Description |
---|---|
GetChildren() | Retrieves the child content items of the tree node. This method is used to access the children of a specific node in the tree structure. |
Windows developer