Skip to content

ReactiveUserControlBase.ViewModelProperty field

Defined in

Type: ReactiveUserControlBase Namespace: ReactiveUI.Avalonia.Reactive Assembly: ReactiveUI.Avalonia.Reactive.dll

Applies to

net10.0, net9.0, net8.0

public static readonly StyledProperty<object?> ViewModelProperty

View source

Summary: Identifies the ViewModel dependency property for a ReactiveUserControl.

Remarks

This property enables data binding of a view model to a ReactiveUserControl instance in Avalonia applications. It is typically used to associate a view model with the control for reactive UI scenarios.