ReactivePopupPage class¶
Defined in
Namespace: ReactiveUI.Maui.Plugins.Popup
Assembly: ReactiveUI.Maui.Plugins.Popup.dll
Full name: ReactiveUI.Maui.Plugins.Popup.ReactivePopupPage
Modifiers: public abstract
Summary¶
Base Popup page that implements IViewFor.
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
Class hierarchy
classDiagram
class ReactivePopupPage
class PopupPage
PopupPage <|-- ReactivePopupPage
class IViewFor {
<>
}
IViewFor <|.. ReactivePopupPage
class IActivatableView {
<>
}
IActivatableView <|.. ReactivePopupPage
Inherits from: PopupPage
Implements: IViewFor, IActivatableView
Remarks¶
This class serves as the bridge between Mopups' PopupPage and ReactiveUI's ViewModel binding infrastructure.
It enables declarative, reactive bindings between your popup views and ViewModels, providing automatic synchronization
through the IViewFor interface. The class automatically manages the relationship between the
ViewModel property and the underlying BindingContext.
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [ReactivePopupPage](# class. |
Properties¶
| Name | Summary |
|---|---|
| BackgroundClick | Gets or sets an observable sequence that emits a [Unit](# value each time the user taps the background area of the popup. |
| ViewModel | Gets or sets the ViewModel to display. |
| ControlBindings | Gets the control binding disposable. |
Fields¶
| Name | Summary |
|---|---|
| static ViewModelProperty | The view model property. |
Methods¶
| Name | Summary |
|---|---|
| static OnViewModelChanged | Called when [view model changed]. |
| OnBindingContextChanged | Invoked whenever the binding context of the page changes. Override this method to add class handling for this event. |