Skip to content

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

View source

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

NameSummary
.ctorInitializes a new instance of the [ReactivePopupPage](# class.

Properties

NameSummary
BackgroundClickGets or sets an observable sequence that emits a [Unit](# value each time the user taps the background area of the popup.
ViewModelGets or sets the ViewModel to display.
ControlBindingsGets the control binding disposable.

Fields

NameSummary
static ViewModelPropertyThe view model property.

Methods

NameSummary
static OnViewModelChangedCalled when [view model changed].
OnBindingContextChangedInvoked whenever the binding context of the page changes. Override this method to add class handling for this event.

Derived types

Inherited members