Summary
Represents a control which hosts an items presenter.
- Namespace
- Avalonia
.Controls .Presenters - Interfaces
- Implementing Types
graph BT
Type-.->Interface0["ITemplatedControl"]
click Interface0 "/api/Avalonia.Styling/ITemplatedControl"
Type-.->Interface1["IAvaloniaObject"]
click Interface1 "/api/Avalonia/IAvaloniaObject"
Type["IItemsPresenterHost"]
class Type type-node
Implementing0["TreeViewItem"]-.->Type
click Implementing0 "/api/Avalonia.Controls/TreeViewItem"
Implementing1["DropDown"]-.->Type
click Implementing1 "/api/Avalonia.Controls/DropDown"
Implementing2["ContextMenu"]-.->Type
click Implementing2 "/api/Avalonia.Controls/ContextMenu"
Implementing3["ListBox"]-.->Type
click Implementing3 "/api/Avalonia.Controls/ListBox"
Implementing4["TreeView"]-.->Type
click Implementing4 "/api/Avalonia.Controls/TreeView"
Implementing5["ComboBox"]-.->Type
click Implementing5 "/api/Avalonia.Controls/ComboBox"
Implementing6["Carousel"]-.->Type
click Implementing6 "/api/Avalonia.Controls/Carousel"
Implementing7["HeaderedSelectingItemsControl"]-.->Type
click Implementing7 "/api/Avalonia.Controls.Primitives/HeaderedSelectingItemsControl"
Implementing8["TabStrip"]-.->Type
click Implementing8 "/api/Avalonia.Controls.Primitives/TabStrip"
Implementing9["TabControl"]-.->Type
click Implementing9 "/api/Avalonia.Controls/TabControl"
Implementing10["ItemsControl"]-.->Type
click Implementing10 "/api/Avalonia.Controls/ItemsControl"
Implementing11["MenuFlyoutPresenter"]-.->Type
click Implementing11 "/api/Avalonia.Controls/MenuFlyoutPresenter"
Implementing12["MenuBase"]-.->Type
click Implementing12 "/api/Avalonia.Controls/MenuBase"
Implementing13["SelectingItemsControl"]-.->Type
click Implementing13 "/api/Avalonia.Controls.Primitives/SelectingItemsControl"
Implementing14["HeaderedItemsControl"]-.->Type
click Implementing14 "/api/Avalonia.Controls.Primitives/HeaderedItemsControl"
Implementing15["Menu"]-.->Type
click Implementing15 "/api/Avalonia.Controls/Menu"
Implementing16["MenuItem"]-.->Type
click Implementing16 "/api/Avalonia.Controls/MenuItem"
Syntax
public interface IItemsPresenterHost : ITemplatedControl, IAvaloniaObject
Remarks
This interface is implemented by
ItemsControl
which usually contains an
ItemsPresenter
and exposes it through its
Presenter
property. ItemsPresenters can be within
nested templates or in popups and so are not necessarily created immediately when the
parent control's template is instantiated so they register themselves using this
interface.
Methods
Name | Value | Summary |
---|---|---|
Register |
void |
Registers an
IItemsPresenter with a host control.
|