ReactivePopupPage class¶
Attributes: [DebuggerDisplay("{ViewModel}")]
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
net11.0, net11.0-ios27.2, net11.0-maccatalyst27.2, net11.0-android37.0, net11.0-tvos27.2, net11.0-macos27.2, net11.0-windows10.0.19041, net10.0, net10.0-ios26.0, net10.0-maccatalyst26.0, net10.0-macos26.0, net10.0-android36.0, net10.0-tvos26.0, net10.0-windows10.0.19041
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 an observable that emits when the popup background is tapped. |
| 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. |