ReactivePopupPage.ViewModel property¶
Defined in
Type: ReactivePopupPage Namespace: ReactiveUI.Maui.Plugins.Popup Assembly: ReactiveUI.Maui.Plugins.Popup.dll
Applies to
net11.0, net11.0-maccatalyst27.2, net11.0-ios27.2, net11.0-macos27.2, net11.0-tvos27.2, net11.0-android37.0, net11.0-windows10.0.19041, net10.0, net10.0-ios26.0, net10.0-android36.0, net10.0-maccatalyst26.0, net10.0-macos26.0, net10.0-windows10.0.19041, net10.0-tvos26.0
public object? ViewModel { get; set; }
View source (opens in a new tab)
Summary: Gets or sets the ViewModel to display.
Returns: object? (opens in a new tab)
Remarks
Setting this property automatically updates the underlying BindingContext (opens in a new tab) 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.