ReactivePopupPage.ViewModel property¶
Defined in
Type: ReactivePopupPage
Namespace: ReactiveUI.Maui.Plugins.Popup
Assembly: ReactiveUI.Maui.Plugins.Popup.dll
Applies to
net10.0, net10.0-android36.0, net10.0-ios26.0, net10.0-macos26.0, net10.0-windows10.0.19041, net10.0-browserwasm1.0, net10.0-desktop1.0, net10.0-maccatalyst26.0, net10.0-tvos26.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net9.0-windows10.0.19041, netstandard2.1, net471
public object? ViewModel { get; set; }
Summary: Gets or sets the ViewModel to display.
Returns: object?
Remarks
Setting this property automatically updates the underlying BindingContext of the MAUI page, ensuring that data bindings in XAML and code-behind remain synchronized with the ViewModel. This two-way synchronization is maintained through the OnViewModelChanged callback and OnBindingContextChanged override.