Skip to content

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 TViewModel? ViewModel { get; set; }

View source

Summary: Gets or sets the ViewModel to display.

Returns: TViewModel?

Remarks

Setting this property automatically updates the underlying BindingContext of the MAUI page. This property provides strongly-typed access to the ViewModel, ensuring type safety when accessing ViewModel properties and methods from code-behind or XAML.