IAvaloniaObject Interface

Summary

Interface for getting/setting AvaloniaProperty values on an object.
Namespace
Avalonia
Implementing Types
graph TD Type["IAvaloniaObject"] 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["AnimatorKeyFrame"] click Implementing4 "/api/Avalonia.Animation/AnimatorKeyFrame" Type-.->Implementing5["DrawingGroup"] click Implementing5 "/api/Avalonia.Media/DrawingGroup" Type-.->Implementing6["ReactiveUserControl<TViewModel>"] click Implementing6 "/api/Avalonia/ReactiveUserControl_1" Type-.->Implementing7["IContentControl"] click Implementing7 "/api/Avalonia.Controls/IContentControl" Type-.->Implementing8["ItemsPresenter"] click Implementing8 "/api/Avalonia.Controls.Presenters/ItemsPresenter" Type-.->Implementing9["Layoutable"] click Implementing9 "/api/Avalonia.Layout/Layoutable" Type-.->Implementing10["VisualBrush"] click Implementing10 "/api/Avalonia.Media/VisualBrush" Type-.->Implementing11["PointTransition"] click Implementing11 "/api/Avalonia.Animation/PointTransition" Type-.->Implementing12["DataGridCellsPresenter"] click Implementing12 "/api/Avalonia.Controls.Primitives/DataGridCellsPresenter" Type-.->Implementing13["PolylineGeometry"] click Implementing13 "/api/Avalonia.Media/PolylineGeometry" Type-.->Implementing14["DefinitionBase"] click Implementing14 "/api/Avalonia.Controls/DefinitionBase" Type-.->Implementing15["ThicknessTransition"] click Implementing15 "/api/Avalonia.Animation/ThicknessTransition" Type-.->Implementing16["SizeTransition"] click Implementing16 "/api/Avalonia.Animation/SizeTransition" Type-.->Implementing17["UserControl"] click Implementing17 "/api/Avalonia.Controls/UserControl" Type-.->Implementing18["RemoteWidget"] click Implementing18 "/api/Avalonia.Controls.Remote/RemoteWidget" Type-.->Implementing19["Border"] click Implementing19 "/api/Avalonia.Controls/Border" Type-.->Implementing20["DevTools"] click Implementing20 "/api/Avalonia.Diagnostics/DevTools" Type-.->Implementing21["TreeView"] click Implementing21 "/api/Avalonia.Controls/TreeView" Type-.->Implementing22["TabStripItem"] click Implementing22 "/api/Avalonia.Controls.Primitives/TabStripItem" Type-.->Implementing23["ProgressBar"] click Implementing23 "/api/Avalonia.Controls/ProgressBar" Type-.->Implementing24["PathSegment"] click Implementing24 "/api/Avalonia.Media/PathSegment" Type-.->Implementing25["DataGridRowsPresenter"] click Implementing25 "/api/Avalonia.Controls.Primitives/DataGridRowsPresenter" Type-.->Implementing26["ToggleButton"] click Implementing26 "/api/Avalonia.Controls.Primitives/ToggleButton" Type-.->Implementing27["IPresenter"] click Implementing27 "/api/Avalonia.Controls.Presenters/IPresenter" Type-.->Implementing28["DataGridRowGroupHeader"] click Implementing28 "/api/Avalonia.Controls/DataGridRowGroupHeader" Type-.->Implementing29["MenuItem"] click Implementing29 "/api/Avalonia.Controls/MenuItem" Type-.->Implementing30["ColumnDefinition"] click Implementing30 "/api/Avalonia.Controls/ColumnDefinition" Type-.->Implementing31["IItemsPresenterHost"] click Implementing31 "/api/Avalonia.Controls.Presenters/IItemsPresenterHost" Type-.->Implementing32["Visual"] click Implementing32 "/api/Avalonia/Visual" Type-.->Implementing33["RowDefinition"] click Implementing33 "/api/Avalonia.Controls/RowDefinition" Type-.->Implementing34["WindowBase"] click Implementing34 "/api/Avalonia.Controls/WindowBase" Type-.->Implementing35["IPanel"] click Implementing35 "/api/Avalonia.Controls/IPanel" Type-.->Implementing36["Brush"] click Implementing36 "/api/Avalonia.Media/Brush" Type-.->Implementing37["Canvas"] click Implementing37 "/api/Avalonia.Controls/Canvas" Type-.->Implementing38["ScrollBar"] click Implementing38 "/api/Avalonia.Controls.Primitives/ScrollBar" Type-.->Implementing39["CalendarDayButton"] click Implementing39 "/api/Avalonia.Controls.Primitives/CalendarDayButton" Type-.->Implementing40["ContentPresenter"] click Implementing40 "/api/Avalonia.Controls.Presenters/ContentPresenter" Type-.->Implementing41["Drawing"] click Implementing41 "/api/Avalonia.Media/Drawing" Type-.->Implementing42["Separator"] click Implementing42 "/api/Avalonia.Controls/Separator" Type-.->Implementing43["ContentControl"] click Implementing43 "/api/Avalonia.Controls/ContentControl" Type-.->Implementing44["Track"] click Implementing44 "/api/Avalonia.Controls.Primitives/Track" Type-.->Implementing45["GeometryDrawing"] click Implementing45 "/api/Avalonia.Media/GeometryDrawing" Type-.->Implementing46["TextBox"] click Implementing46 "/api/Avalonia.Controls/TextBox" Type-.->Implementing47["DataGridTemplateColumn"] click Implementing47 "/api/Avalonia.Controls/DataGridTemplateColumn" Type-.->Implementing48["DropDown"] click Implementing48 "/api/Avalonia.Controls/DropDown" Type-.->Implementing49["DataValidationErrors"] click Implementing49 "/api/Avalonia.Controls/DataValidationErrors" Type-.->Implementing50["SimpleGrid"] click Implementing50 "/api/Avalonia.Diagnostics.Views/SimpleGrid" Type-.->Implementing51["Carousel"] click Implementing51 "/api/Avalonia.Controls/Carousel" Type-.->Implementing52["PopupRoot"] click Implementing52 "/api/Avalonia.Controls.Primitives/PopupRoot" Type-.->Implementing53["Decorator"] click Implementing53 "/api/Avalonia.Controls/Decorator" Type-.->Implementing54["DashStyle"] click Implementing54 "/api/Avalonia.Media/DashStyle" Type-.->Implementing55["DataGridDetailsPresenter"] click Implementing55 "/api/Avalonia.Controls.Primitives/DataGridDetailsPresenter" Type-.->Implementing56["SkewTransform"] click Implementing56 "/api/Avalonia.Media/SkewTransform" Type-.->Implementing57["KeyBinding"] click Implementing57 "/api/Avalonia.Input/KeyBinding" Type-.->Implementing58["IContentPresenter"] click Implementing58 "/api/Avalonia.Controls.Presenters/IContentPresenter" Type-.->Implementing59["Thumb"] click Implementing59 "/api/Avalonia.Controls.Primitives/Thumb" Type-.->Implementing60["Animation"] click Implementing60 "/api/Avalonia.Animation/Animation" Type-.->Implementing61["VectorTransition"] click Implementing61 "/api/Avalonia.Animation/VectorTransition" Type-.->Implementing62["EventsView"] click Implementing62 "/api/Avalonia.Diagnostics.Views/EventsView" Type-.->Implementing63["NumericUpDown"] click Implementing63 "/api/Avalonia.Controls/NumericUpDown" Type-.->Implementing64["DatePicker"] click Implementing64 "/api/Avalonia.Controls/DatePicker" Type-.->Implementing65["EllipseGeometry"] click Implementing65 "/api/Avalonia.Media/EllipseGeometry" Type-.->Implementing66["TextBlock"] click Implementing66 "/api/Avalonia.Controls/TextBlock" Type-.->Implementing67["Grid"] click Implementing67 "/api/Avalonia.Controls/Grid" Type-.->Implementing68["ComboBoxItem"] click Implementing68 "/api/Avalonia.Controls/ComboBoxItem" Type-.->Implementing69["Ellipse"] click Implementing69 "/api/Avalonia.Controls.Shapes/Ellipse" Type-.->Implementing70["ContextMenu"] click Implementing70 "/api/Avalonia.Controls/ContextMenu" Type-.->Implementing71["ScrollContentPresenter"] click Implementing71 "/api/Avalonia.Controls.Presenters/ScrollContentPresenter" Type-.->Implementing72["DockPanel"] click Implementing72 "/api/Avalonia.Controls/DockPanel" Type-.->Implementing73["Interactive"] click Implementing73 "/api/Avalonia.Interactivity/Interactive" Type-.->Implementing74["TransformGroup"] click Implementing74 "/api/Avalonia.Media/TransformGroup" Type-.->Implementing75["TabControl"] click Implementing75 "/api/Avalonia.Controls/TabControl" Type-.->Implementing76["VirtualizingStackPanel"] click Implementing76 "/api/Avalonia.Controls/VirtualizingStackPanel" Type-.->Implementing77["WrapPanel"] click Implementing77 "/api/Avalonia.Controls/WrapPanel" Type-.->Implementing78["PathFigure"] click Implementing78 "/api/Avalonia.Media/PathFigure" Type-.->Implementing79["InputElement"] click Implementing79 "/api/Avalonia.Input/InputElement" Type-.->Implementing80["StackPanel"] click Implementing80 "/api/Avalonia.Controls/StackPanel" Type-.->Implementing81["HeaderedItemsControl"] click Implementing81 "/api/Avalonia.Controls.Primitives/HeaderedItemsControl" Type-.->Implementing82["Animatable"] click Implementing82 "/api/Avalonia.Animation/Animatable" Type-.->Implementing83["CheckBox"] click Implementing83 "/api/Avalonia.Controls/CheckBox" Type-.->Implementing84["ListBoxItem"] click Implementing84 "/api/Avalonia.Controls/ListBoxItem" Type-.->Implementing85["DataGridColumn"] click Implementing85 "/api/Avalonia.Controls/DataGridColumn" Type-.->Implementing86["TreePageView"] click Implementing86 "/api/Avalonia.Diagnostics.Views/TreePageView" Type-.->Implementing87["MatrixTransform"] click Implementing87 "/api/Avalonia.Media/MatrixTransform" Type-.->Implementing88["Menu"] click Implementing88 "/api/Avalonia.Controls/Menu" Type-.->Implementing89["RepeatButton"] click Implementing89 "/api/Avalonia.Controls/RepeatButton" Type-.->Implementing90["TranslateTransform"] click Implementing90 "/api/Avalonia.Media/TranslateTransform" Type-.->Implementing91["GridSplitter"] click Implementing91 "/api/Avalonia.Controls/GridSplitter" Type-.->Implementing92["DataGridTextColumn"] click Implementing92 "/api/Avalonia.Controls/DataGridTextColumn" Type-.->Implementing93["AdornerDecorator"] click Implementing93 "/api/Avalonia.Controls.Primitives/AdornerDecorator" Type-.->Implementing94["ToolTip"] click Implementing94 "/api/Avalonia.Controls/ToolTip" Type-.->Implementing95["RoutedViewHost"] click Implementing95 "/api/Avalonia/RoutedViewHost" Type-.->Implementing96["PathGeometry"] click Implementing96 "/api/Avalonia.Media/PathGeometry" Type-.->Implementing97["Polygon"] click Implementing97 "/api/Avalonia.Controls.Shapes/Polygon" Type-.->Implementing98["GradientBrush"] click Implementing98 "/api/Avalonia.Media/GradientBrush" Type-.->Implementing99["LayoutTransformControl"] click Implementing99 "/api/Avalonia.Controls/LayoutTransformControl" Type-.->Implementing100["Expander"] click Implementing100 "/api/Avalonia.Controls/Expander" Type-.->Implementing101["BezierSegment"] click Implementing101 "/api/Avalonia.Media/BezierSegment" Type-.->Implementing102["SelectingItemsControl"] click Implementing102 "/api/Avalonia.Controls.Primitives/SelectingItemsControl" Type-.->Implementing103["MenuBase"] click Implementing103 "/api/Avalonia.Controls/MenuBase" Type-.->Implementing104["Viewbox"] click Implementing104 "/api/Avalonia.Controls/Viewbox" Type-.->Implementing105["TreeViewItem"] click Implementing105 "/api/Avalonia.Controls/TreeViewItem" Type-.->Implementing106["IContentPresenterHost"] click Implementing106 "/api/Avalonia.Controls.Presenters/IContentPresenterHost" Type-.->Implementing107["IControl"] click Implementing107 "/api/Avalonia.Controls/IControl" Type-.->Implementing108["IStyledElement"] click Implementing108 "/api/Avalonia/IStyledElement" Type-.->Implementing109["ItemsPresenterBase"] click Implementing109 "/api/Avalonia.Controls.Presenters/ItemsPresenterBase" Type-.->Implementing110["AutoCompleteBox"] click Implementing110 "/api/Avalonia.Controls/AutoCompleteBox" Type-.->Implementing111["Path"] click Implementing111 "/api/Avalonia.Controls.Shapes/Path" Type-.->Implementing112["DataGrid"] click Implementing112 "/api/Avalonia.Controls/DataGrid" Type-.->Implementing113["ImageBrush"] click Implementing113 "/api/Avalonia.Media/ImageBrush" Type-.->Implementing114["ItemsControl"] click Implementing114 "/api/Avalonia.Controls/ItemsControl" Type-.->Implementing115["Button"] click Implementing115 "/api/Avalonia.Controls/Button" Type-.->Implementing116["TextPresenter"] click Implementing116 "/api/Avalonia.Controls.Presenters/TextPresenter" Type-.->Implementing117["AutoCompleteBox.BindingEvaluator<T>"] click Implementing117 "/api/Avalonia.Controls/BindingEvaluator_1" Type-.->Implementing118["Window"] click Implementing118 "/api/Avalonia.Controls/Window" Type-.->Implementing119["IStyleable"] click Implementing119 "/api/Avalonia.Styling/IStyleable" Type-.->Implementing120["ButtonSpinner"] click Implementing120 "/api/Avalonia.Controls/ButtonSpinner" Type-.->Implementing121["CalendarItem"] click Implementing121 "/api/Avalonia.Controls.Primitives/CalendarItem" Type-.->Implementing122["IMenu"] click Implementing122 "/api/Avalonia.Controls/IMenu" Type-.->Implementing123["DropDownItem"] click Implementing123 "/api/Avalonia.Controls/DropDownItem" Type-.->Implementing124["ArcSegment"] click Implementing124 "/api/Avalonia.Media/ArcSegment" Type-.->Implementing125["AccessText"] click Implementing125 "/api/Avalonia.Controls.Primitives/AccessText" Type-.->Implementing126["QuadraticBezierSegment"] click Implementing126 "/api/Avalonia.Media/QuadraticBezierSegment" Type-.->Implementing127["IMenuElement"] click Implementing127 "/api/Avalonia.Controls/IMenuElement" Type-.->Implementing128["UniformGrid"] click Implementing128 "/api/Avalonia.Controls.Primitives/UniformGrid" Type-.->Implementing129["IntegerTransition"] click Implementing129 "/api/Avalonia.Animation/IntegerTransition" Type-.->Implementing130["DataGridBoundColumn"] click Implementing130 "/api/Avalonia.Controls/DataGridBoundColumn" Type-.->Implementing131["CalendarButton"] click Implementing131 "/api/Avalonia.Controls.Primitives/CalendarButton" Type-.->Implementing132["ScrollViewer"] click Implementing132 "/api/Avalonia.Controls/ScrollViewer" Type-.->Implementing133["TopLevel"] click Implementing133 "/api/Avalonia.Controls/TopLevel" Type-.->Implementing134["Styles"] click Implementing134 "/api/Avalonia.Styling/Styles" Type-.->Implementing135["DrawingPresenter"] click Implementing135 "/api/Avalonia.Controls/DrawingPresenter" Type-.->Implementing136["AdornerLayer"] click Implementing136 "/api/Avalonia.Controls.Primitives/AdornerLayer" Type-.->Implementing137["Spinner"] click Implementing137 "/api/Avalonia.Controls/Spinner" Type-.->Implementing138["DataGridRowHeader"] click Implementing138 "/api/Avalonia.Controls.Primitives/DataGridRowHeader" Type-.->Implementing139["RadialGradientBrush"] click Implementing139 "/api/Avalonia.Media/RadialGradientBrush" Type-.->Implementing140["TileBrush"] click Implementing140 "/api/Avalonia.Media/TileBrush" Type-.->Implementing141["HeaderedContentControl"] click Implementing141 "/api/Avalonia.Controls.Primitives/HeaderedContentControl" Type-.->Implementing142["Slider"] click Implementing142 "/api/Avalonia.Controls/Slider" Type-.->Implementing143["Calendar"] click Implementing143 "/api/Avalonia.Controls/Calendar" Type-.->Implementing144["Transition<T>"] click Implementing144 "/api/Avalonia.Animation/Transition_1" Type-.->Implementing145["AvaloniaObject"] click Implementing145 "/api/Avalonia/AvaloniaObject" Type-.->Implementing146["ITemplatedControl"] click Implementing146 "/api/Avalonia.Styling/ITemplatedControl" Type-.->Implementing147["Style"] click Implementing147 "/api/Avalonia.Styling/Style" Type-.->Implementing148["RectangleGeometry"] click Implementing148 "/api/Avalonia.Media/RectangleGeometry" Type-.->Implementing149["DefaultTheme"] click Implementing149 "/api/Avalonia.Themes.Default/DefaultTheme" Type-.->Implementing150["DataGridColumnHeader"] click Implementing150 "/api/Avalonia.Controls/DataGridColumnHeader" Type-.->Implementing151["EmbeddableControlRoot"] click Implementing151 "/api/Avalonia.Controls.Embedding/EmbeddableControlRoot" Type-.->Implementing152["ListBox"] click Implementing152 "/api/Avalonia.Controls/ListBox" Type-.->Implementing153["DataGridRow"] click Implementing153 "/api/Avalonia.Controls/DataGridRow" Type-.->Implementing154["Polyline"] click Implementing154 "/api/Avalonia.Controls.Shapes/Polyline" Type-.->Implementing155["LineSegment"] click Implementing155 "/api/Avalonia.Media/LineSegment" Type-.->Implementing156["LineGeometry"] click Implementing156 "/api/Avalonia.Media/LineGeometry" Type-.->Implementing157["Rectangle"] click Implementing157 "/api/Avalonia.Controls.Shapes/Rectangle" Type-.->Implementing158["DataGridCell"] click Implementing158 "/api/Avalonia.Controls/DataGridCell" Type-.->Implementing159["DoubleTransition"] click Implementing159 "/api/Avalonia.Animation/DoubleTransition" Type-.->Implementing160["ScaleTransform"] click Implementing160 "/api/Avalonia.Media/ScaleTransform" Type-.->Implementing161["Geometry"] click Implementing161 "/api/Avalonia.Media/Geometry" Type-.->Implementing162["Line"] click Implementing162 "/api/Avalonia.Controls.Shapes/Line" Type-.->Implementing163["IVirtualizingPanel"] click Implementing163 "/api/Avalonia.Controls/IVirtualizingPanel" Type-.->Implementing164["DataGridFrozenGrid"] click Implementing164 "/api/Avalonia.Controls.Primitives/DataGridFrozenGrid" Type-.->Implementing165["Shape"] click Implementing165 "/api/Avalonia.Controls.Shapes/Shape" Type-.->Implementing166["CornerRadiusTransition"] click Implementing166 "/api/Avalonia.Animation/CornerRadiusTransition" Type-.->Implementing167["Image"] click Implementing167 "/api/Avalonia.Controls/Image" Type-.->Implementing168["Control"] click Implementing168 "/api/Avalonia.Controls/Control" Type-.->Implementing169["CarouselPresenter"] click Implementing169 "/api/Avalonia.Controls.Presenters/CarouselPresenter" Type-.->Implementing170["Transform"] click Implementing170 "/api/Avalonia.Media/Transform" Type-.->Implementing171["TabItem"] click Implementing171 "/api/Avalonia.Controls/TabItem" Type-.->Implementing172["SolidColorBrush"] click Implementing172 "/api/Avalonia.Media/SolidColorBrush" Type-.->Implementing173["HeaderedSelectingItemsControl"] click Implementing173 "/api/Avalonia.Controls.Primitives/HeaderedSelectingItemsControl" Type-.->Implementing174["FloatTransition"] click Implementing174 "/api/Avalonia.Animation/FloatTransition" Type-.->Implementing175["ComboBox"] click Implementing175 "/api/Avalonia.Controls/ComboBox" Type-.->Implementing176["IItemsPresenter"] click Implementing176 "/api/Avalonia.Controls.Presenters/IItemsPresenter" Type-.->Implementing177["GradientStop"] click Implementing177 "/api/Avalonia.Media/GradientStop" Type-.->Implementing178["LinearGradientBrush"] click Implementing178 "/api/Avalonia.Media/LinearGradientBrush" Type-.->Implementing179["DataGridCheckBoxColumn"] click Implementing179 "/api/Avalonia.Controls/DataGridCheckBoxColumn" Type-.->Implementing180["DataGridColumnHeadersPresenter"] click Implementing180 "/api/Avalonia.Controls.Primitives/DataGridColumnHeadersPresenter" Type-.->Implementing181["IMenuItem"] click Implementing181 "/api/Avalonia.Controls/IMenuItem" Type-.->Implementing182["RotateTransform"] click Implementing182 "/api/Avalonia.Media/RotateTransform" Type-.->Implementing183["TemplatedControl"] click Implementing183 "/api/Avalonia.Controls.Primitives/TemplatedControl" Type-.->Implementing184["StyledElement"] click Implementing184 "/api/Avalonia/StyledElement" Type-.->Implementing185["KeyFrame"] click Implementing185 "/api/Avalonia.Animation/KeyFrame" Type-.->Implementing186["Popup"] click Implementing186 "/api/Avalonia.Controls.Primitives/Popup" Type-.->Implementing187["StreamGeometry"] click Implementing187 "/api/Avalonia.Media/StreamGeometry" Type-.->Implementing188["RadioButton"] click Implementing188 "/api/Avalonia.Controls/RadioButton"

Syntax

public interface IAvaloniaObject

Events

Name Type Summary
InheritablePropertyChanged EventHandler<AvaloniaPropertyChangedEventArgs>
Raised when an inheritable AvaloniaProperty value changes on this object.
PropertyChanged EventHandler<AvaloniaPropertyChangedEventArgs>
Raised when a AvaloniaProperty value changes on this object.

Methods

Extension Methods

Name Value Summary
Bind(AvaloniaProperty, IBinding, object) IDisposable
Binds a property on an IAvaloniaObject to an IBinding.
GetObservable(AvaloniaProperty) IObservable<object>
Gets an observable for a AvaloniaProperty.
GetObservable<T>(AvaloniaProperty<T>) IObservable<T>
Gets an observable for a AvaloniaProperty.
GetPropertyChangedObservable(AvaloniaProperty) IObservable<AvaloniaPropertyChangedEventArgs>
Gets an observable that listens for property changed events for an AvaloniaProperty.
GetSubject(AvaloniaProperty, BindingPriority) ISubject<object>
Gets a subject for a AvaloniaProperty.
GetSubject<T>(AvaloniaProperty<T>, BindingPriority) ISubject<T>
Gets a subject for a AvaloniaProperty.