ReactivePopupPage class¶
Defined in
Namespace: ReactiveUI.Maui.Plugins.Popup
Assembly: ReactiveUI.Maui.Plugins.Popup.dll
Full name: ReactiveUI.Maui.Plugins.Popup.ReactivePopupPage<T>
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~T~
class ReactivePopupPage
ReactivePopupPage <|-- ReactivePopupPage~T~
class IViewFor~TViewModel~ {
<>
}
IViewFor~TViewModel~ <|.. ReactivePopupPage~T~
class IViewFor {
<>
}
IViewFor <|.. ReactivePopupPage~T~
class IActivatableView {
<>
}
IActivatableView <|.. ReactivePopupPage~T~
Inherits from: ReactivePopupPage
Implements: IViewFor
Remarks¶
This generic variant of ReactivePopupPage provides strongly-typed ViewModel binding, offering compile-time type safety for your popup views. It inherits all the reactive binding capabilities from the base ReactivePopupPage class while constraining the ViewModel to a specific type. The type parameter ensures that your view is always bound to the correct ViewModel type, preventing runtime type errors.
Constructors¶
| Name | Summary |
|---|---|
| .ctor |
Properties¶
| Name | Summary |
|---|---|
| ViewModel | Gets or sets the ViewModel to display. |
Fields¶
| Name | Summary |
|---|---|
| static ViewModelProperty | The view model property. |
Methods¶
| Name | Summary |
|---|---|
| OnBindingContextChanged | Invoked whenever the binding context of the page changes. Override this method to add class handling for this event. |
Inherited members
ReactiveUI.Maui.Plugins.Popup.ReactivePopupPage.ViewModelPropertyReactiveUI.Maui.Plugins.Popup.ReactivePopupPage.#ctorReactiveUI.Maui.Plugins.Popup.ReactivePopupPage.OnViewModelChanged(Microsoft.Maui.Controls.BindableObject,System.Object,System.Object)ReactiveUI.Maui.Plugins.Popup.ReactivePopupPage.OnBindingContextChangedReactiveUI.Maui.Plugins.Popup.ReactivePopupPage.BackgroundClickReactiveUI.Maui.Plugins.Popup.ReactivePopupPage.ViewModelReactiveUI.Maui.Plugins.Popup.ReactivePopupPage.ControlBindingsSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString