Summary
Gets or sets the control's data context.
- Namespace
- Avalonia
- Containing Type
- StyledElement
Syntax
public object? DataContext { get; set; }
Remarks
The data context is an inherited property that specifies the default object that will
be used for data binding.
Value
Type | Description |
---|---|
object? |