ISetInheritanceParent Interface

Summary

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

Syntax

public interface ISetInheritanceParent

Remarks

You should not usually need to use this interface - it is for advanced scenarios only. Additionally, ISetLogicalParent also sets the inheritance parent; this interface is only needed where the logical and inheritance parents differ.

Methods

Name Value Summary
SetParent(IAvaloniaObject) void
Sets the control's inheritance parent.