Skip to content

ReactiveWindowBase.ViewModelProperty field

Defined in

Type: ReactiveWindowBase 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 ReactiveWindow.

Remarks

This field is used to register and reference the ViewModel property within Avalonia's property system. It enables data binding and change notification for the ViewModel associated with the window.