StyledElementDataContext Property
Gets or sets the control's data context.
Namespace: AvaloniaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public Object? DataContext { get; set; }
Public Property DataContext As Object
Get
Set
abstract DataContext : Object with get, set
override DataContext : Object with get, set
ObjectIDataContextProviderDataContext
The data context is an inherited property that specifies the default object that will
be used for data binding.