ApplicationDataContext Property

Gets or sets the Applications's data context.

Definition

Namespace: Avalonia
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public Object? DataContext { get; set; }

Property Value

Object

Implements

IDataContextProvider.DataContext

Remarks

The data context property specifies the default object that will be used for data binding.

See Also