IStyleHost Interface

Summary

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

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.