IDataTemplateHost Interface

Summary

Defines an element that has a DataTemplates collection.
Namespace
Avalonia.Controls.Templates
Implementing Types
graph TD Type["IDataTemplateHost"] class Type type-node Type-.->Implementing0["ReactiveWindow<TViewModel>"] click Implementing0 "/api/Avalonia/ReactiveWindow_1" Type-.->Implementing1["TabStrip"] click Implementing1 "/api/Avalonia.Controls.Primitives/TabStrip" Type-.->Implementing2["RangeBase"] click Implementing2 "/api/Avalonia.Controls.Primitives/RangeBase" Type-.->Implementing3["Panel"] click Implementing3 "/api/Avalonia.Controls/Panel" Type-.->Implementing4["ReactiveUserControl<TViewModel>"] click Implementing4 "/api/Avalonia/ReactiveUserControl_1" Type-.->Implementing5["IContentControl"] click Implementing5 "/api/Avalonia.Controls/IContentControl" Type-.->Implementing6["ItemsPresenter"] click Implementing6 "/api/Avalonia.Controls.Presenters/ItemsPresenter" Type-.->Implementing7["DataGridCellsPresenter"] click Implementing7 "/api/Avalonia.Controls.Primitives/DataGridCellsPresenter" Type-.->Implementing8["UserControl"] click Implementing8 "/api/Avalonia.Controls/UserControl" Type-.->Implementing9["RemoteWidget"] click Implementing9 "/api/Avalonia.Controls.Remote/RemoteWidget" Type-.->Implementing10["Border"] click Implementing10 "/api/Avalonia.Controls/Border" Type-.->Implementing11["DevTools"] click Implementing11 "/api/Avalonia.Diagnostics/DevTools" Type-.->Implementing12["TreeView"] click Implementing12 "/api/Avalonia.Controls/TreeView" Type-.->Implementing13["TabStripItem"] click Implementing13 "/api/Avalonia.Controls.Primitives/TabStripItem" Type-.->Implementing14["ProgressBar"] click Implementing14 "/api/Avalonia.Controls/ProgressBar" Type-.->Implementing15["DataGridRowsPresenter"] click Implementing15 "/api/Avalonia.Controls.Primitives/DataGridRowsPresenter" Type-.->Implementing16["ToggleButton"] click Implementing16 "/api/Avalonia.Controls.Primitives/ToggleButton" Type-.->Implementing17["IPresenter"] click Implementing17 "/api/Avalonia.Controls.Presenters/IPresenter" Type-.->Implementing18["DataGridRowGroupHeader"] click Implementing18 "/api/Avalonia.Controls/DataGridRowGroupHeader" Type-.->Implementing19["MenuItem"] click Implementing19 "/api/Avalonia.Controls/MenuItem" Type-.->Implementing20["WindowBase"] click Implementing20 "/api/Avalonia.Controls/WindowBase" Type-.->Implementing21["IPanel"] click Implementing21 "/api/Avalonia.Controls/IPanel" Type-.->Implementing22["Canvas"] click Implementing22 "/api/Avalonia.Controls/Canvas" Type-.->Implementing23["ScrollBar"] click Implementing23 "/api/Avalonia.Controls.Primitives/ScrollBar" Type-.->Implementing24["CalendarDayButton"] click Implementing24 "/api/Avalonia.Controls.Primitives/CalendarDayButton" Type-.->Implementing25["ContentPresenter"] click Implementing25 "/api/Avalonia.Controls.Presenters/ContentPresenter" Type-.->Implementing26["Separator"] click Implementing26 "/api/Avalonia.Controls/Separator" Type-.->Implementing27["ContentControl"] click Implementing27 "/api/Avalonia.Controls/ContentControl" Type-.->Implementing28["Track"] click Implementing28 "/api/Avalonia.Controls.Primitives/Track" Type-.->Implementing29["TextBox"] click Implementing29 "/api/Avalonia.Controls/TextBox" Type-.->Implementing30["DropDown"] click Implementing30 "/api/Avalonia.Controls/DropDown" Type-.->Implementing31["DataValidationErrors"] click Implementing31 "/api/Avalonia.Controls/DataValidationErrors" Type-.->Implementing32["SimpleApp"] click Implementing32 "/api/Avalonia.iOSTestApplication/SimpleApp" Type-.->Implementing33["SimpleGrid"] click Implementing33 "/api/Avalonia.Diagnostics.Views/SimpleGrid" Type-.->Implementing34["Carousel"] click Implementing34 "/api/Avalonia.Controls/Carousel" Type-.->Implementing35["PopupRoot"] click Implementing35 "/api/Avalonia.Controls.Primitives/PopupRoot" Type-.->Implementing36["Decorator"] click Implementing36 "/api/Avalonia.Controls/Decorator" Type-.->Implementing37["DataGridDetailsPresenter"] click Implementing37 "/api/Avalonia.Controls.Primitives/DataGridDetailsPresenter" Type-.->Implementing38["IContentPresenter"] click Implementing38 "/api/Avalonia.Controls.Presenters/IContentPresenter" Type-.->Implementing39["Thumb"] click Implementing39 "/api/Avalonia.Controls.Primitives/Thumb" Type-.->Implementing40["EventsView"] click Implementing40 "/api/Avalonia.Diagnostics.Views/EventsView" Type-.->Implementing41["NumericUpDown"] click Implementing41 "/api/Avalonia.Controls/NumericUpDown" Type-.->Implementing42["DatePicker"] click Implementing42 "/api/Avalonia.Controls/DatePicker" Type-.->Implementing43["TextBlock"] click Implementing43 "/api/Avalonia.Controls/TextBlock" Type-.->Implementing44["Grid"] click Implementing44 "/api/Avalonia.Controls/Grid" Type-.->Implementing45["ComboBoxItem"] click Implementing45 "/api/Avalonia.Controls/ComboBoxItem" Type-.->Implementing46["Ellipse"] click Implementing46 "/api/Avalonia.Controls.Shapes/Ellipse" Type-.->Implementing47["ContextMenu"] click Implementing47 "/api/Avalonia.Controls/ContextMenu" Type-.->Implementing48["ScrollContentPresenter"] click Implementing48 "/api/Avalonia.Controls.Presenters/ScrollContentPresenter" Type-.->Implementing49["DockPanel"] click Implementing49 "/api/Avalonia.Controls/DockPanel" Type-.->Implementing50["TabControl"] click Implementing50 "/api/Avalonia.Controls/TabControl" Type-.->Implementing51["VirtualizingStackPanel"] click Implementing51 "/api/Avalonia.Controls/VirtualizingStackPanel" Type-.->Implementing52["WrapPanel"] click Implementing52 "/api/Avalonia.Controls/WrapPanel" Type-.->Implementing53["StackPanel"] click Implementing53 "/api/Avalonia.Controls/StackPanel" Type-.->Implementing54["HeaderedItemsControl"] click Implementing54 "/api/Avalonia.Controls.Primitives/HeaderedItemsControl" Type-.->Implementing55["CheckBox"] click Implementing55 "/api/Avalonia.Controls/CheckBox" Type-.->Implementing56["ListBoxItem"] click Implementing56 "/api/Avalonia.Controls/ListBoxItem" Type-.->Implementing57["TreePageView"] click Implementing57 "/api/Avalonia.Diagnostics.Views/TreePageView" Type-.->Implementing58["Menu"] click Implementing58 "/api/Avalonia.Controls/Menu" Type-.->Implementing59["RepeatButton"] click Implementing59 "/api/Avalonia.Controls/RepeatButton" Type-.->Implementing60["GridSplitter"] click Implementing60 "/api/Avalonia.Controls/GridSplitter" Type-.->Implementing61["AdornerDecorator"] click Implementing61 "/api/Avalonia.Controls.Primitives/AdornerDecorator" Type-.->Implementing62["ToolTip"] click Implementing62 "/api/Avalonia.Controls/ToolTip" Type-.->Implementing63["RoutedViewHost"] click Implementing63 "/api/Avalonia/RoutedViewHost" Type-.->Implementing64["Polygon"] click Implementing64 "/api/Avalonia.Controls.Shapes/Polygon" Type-.->Implementing65["Application"] click Implementing65 "/api/Avalonia/Application" Type-.->Implementing66["LayoutTransformControl"] click Implementing66 "/api/Avalonia.Controls/LayoutTransformControl" Type-.->Implementing67["Expander"] click Implementing67 "/api/Avalonia.Controls/Expander" Type-.->Implementing68["SelectingItemsControl"] click Implementing68 "/api/Avalonia.Controls.Primitives/SelectingItemsControl" Type-.->Implementing69["MenuBase"] click Implementing69 "/api/Avalonia.Controls/MenuBase" Type-.->Implementing70["Viewbox"] click Implementing70 "/api/Avalonia.Controls/Viewbox" Type-.->Implementing71["TreeViewItem"] click Implementing71 "/api/Avalonia.Controls/TreeViewItem" Type-.->Implementing72["IControl"] click Implementing72 "/api/Avalonia.Controls/IControl" Type-.->Implementing73["App"] click Implementing73 "/api/Avalonia.AndroidTestApplication/App" Type-.->Implementing74["ItemsPresenterBase"] click Implementing74 "/api/Avalonia.Controls.Presenters/ItemsPresenterBase" Type-.->Implementing75["AutoCompleteBox"] click Implementing75 "/api/Avalonia.Controls/AutoCompleteBox" Type-.->Implementing76["Path"] click Implementing76 "/api/Avalonia.Controls.Shapes/Path" Type-.->Implementing77["DataGrid"] click Implementing77 "/api/Avalonia.Controls/DataGrid" Type-.->Implementing78["ItemsControl"] click Implementing78 "/api/Avalonia.Controls/ItemsControl" Type-.->Implementing79["Button"] click Implementing79 "/api/Avalonia.Controls/Button" Type-.->Implementing80["TextPresenter"] click Implementing80 "/api/Avalonia.Controls.Presenters/TextPresenter" Type-.->Implementing81["AutoCompleteBox.BindingEvaluator<T>"] click Implementing81 "/api/Avalonia.Controls/BindingEvaluator_1" Type-.->Implementing82["Window"] click Implementing82 "/api/Avalonia.Controls/Window" Type-.->Implementing83["ButtonSpinner"] click Implementing83 "/api/Avalonia.Controls/ButtonSpinner" Type-.->Implementing84["CalendarItem"] click Implementing84 "/api/Avalonia.Controls.Primitives/CalendarItem" Type-.->Implementing85["IMenu"] click Implementing85 "/api/Avalonia.Controls/IMenu" Type-.->Implementing86["DropDownItem"] click Implementing86 "/api/Avalonia.Controls/DropDownItem" Type-.->Implementing87["AccessText"] click Implementing87 "/api/Avalonia.Controls.Primitives/AccessText" Type-.->Implementing88["IMenuElement"] click Implementing88 "/api/Avalonia.Controls/IMenuElement" Type-.->Implementing89["IGlobalDataTemplates"] click Implementing89 "/api/Avalonia.Controls/IGlobalDataTemplates" Type-.->Implementing90["UniformGrid"] click Implementing90 "/api/Avalonia.Controls.Primitives/UniformGrid" Type-.->Implementing91["CalendarButton"] click Implementing91 "/api/Avalonia.Controls.Primitives/CalendarButton" Type-.->Implementing92["ScrollViewer"] click Implementing92 "/api/Avalonia.Controls/ScrollViewer" Type-.->Implementing93["TopLevel"] click Implementing93 "/api/Avalonia.Controls/TopLevel" Type-.->Implementing94["DrawingPresenter"] click Implementing94 "/api/Avalonia.Controls/DrawingPresenter" Type-.->Implementing95["AdornerLayer"] click Implementing95 "/api/Avalonia.Controls.Primitives/AdornerLayer" Type-.->Implementing96["Spinner"] click Implementing96 "/api/Avalonia.Controls/Spinner" Type-.->Implementing97["DataGridRowHeader"] click Implementing97 "/api/Avalonia.Controls.Primitives/DataGridRowHeader" Type-.->Implementing98["HeaderedContentControl"] click Implementing98 "/api/Avalonia.Controls.Primitives/HeaderedContentControl" Type-.->Implementing99["Slider"] click Implementing99 "/api/Avalonia.Controls/Slider" Type-.->Implementing100["Calendar"] click Implementing100 "/api/Avalonia.Controls/Calendar" Type-.->Implementing101["DataGridColumnHeader"] click Implementing101 "/api/Avalonia.Controls/DataGridColumnHeader" Type-.->Implementing102["EmbeddableControlRoot"] click Implementing102 "/api/Avalonia.Controls.Embedding/EmbeddableControlRoot" Type-.->Implementing103["ListBox"] click Implementing103 "/api/Avalonia.Controls/ListBox" Type-.->Implementing104["DataGridRow"] click Implementing104 "/api/Avalonia.Controls/DataGridRow" Type-.->Implementing105["Polyline"] click Implementing105 "/api/Avalonia.Controls.Shapes/Polyline" Type-.->Implementing106["Rectangle"] click Implementing106 "/api/Avalonia.Controls.Shapes/Rectangle" Type-.->Implementing107["DataGridCell"] click Implementing107 "/api/Avalonia.Controls/DataGridCell" Type-.->Implementing108["Line"] click Implementing108 "/api/Avalonia.Controls.Shapes/Line" Type-.->Implementing109["IVirtualizingPanel"] click Implementing109 "/api/Avalonia.Controls/IVirtualizingPanel" Type-.->Implementing110["DataGridFrozenGrid"] click Implementing110 "/api/Avalonia.Controls.Primitives/DataGridFrozenGrid" Type-.->Implementing111["Shape"] click Implementing111 "/api/Avalonia.Controls.Shapes/Shape" Type-.->Implementing112["Image"] click Implementing112 "/api/Avalonia.Controls/Image" Type-.->Implementing113["Control"] click Implementing113 "/api/Avalonia.Controls/Control" Type-.->Implementing114["CarouselPresenter"] click Implementing114 "/api/Avalonia.Controls.Presenters/CarouselPresenter" Type-.->Implementing115["TabItem"] click Implementing115 "/api/Avalonia.Controls/TabItem" Type-.->Implementing116["HeaderedSelectingItemsControl"] click Implementing116 "/api/Avalonia.Controls.Primitives/HeaderedSelectingItemsControl" Type-.->Implementing117["ComboBox"] click Implementing117 "/api/Avalonia.Controls/ComboBox" Type-.->Implementing118["IItemsPresenter"] click Implementing118 "/api/Avalonia.Controls.Presenters/IItemsPresenter" Type-.->Implementing119["DataGridColumnHeadersPresenter"] click Implementing119 "/api/Avalonia.Controls.Primitives/DataGridColumnHeadersPresenter" Type-.->Implementing120["IMenuItem"] click Implementing120 "/api/Avalonia.Controls/IMenuItem" Type-.->Implementing121["TemplatedControl"] click Implementing121 "/api/Avalonia.Controls.Primitives/TemplatedControl" Type-.->Implementing122["Popup"] click Implementing122 "/api/Avalonia.Controls.Primitives/Popup" Type-.->Implementing123["RadioButton"] click Implementing123 "/api/Avalonia.Controls/RadioButton"

Syntax

public interface IDataTemplateHost

Properties

Name Value Summary
DataTemplates DataTemplates
Gets the data templates for the element.
IsDataTemplatesInitialized bool
Gets a value indicating whether DataTemplates is initialized.