IStyleHost Interface

Summary

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

Syntax

public interface IStyleHost

Properties

Name Value Summary
IsStylesInitialized bool
Gets a value indicating whether Styles is initialized.
Styles Styles
Gets the styles for the element.
StylingParent IStyleHost
Gets the parent style host element.