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

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.