MauiAppBuilderMixins.ConfigureReactiveUIPopup(MauiAppBuilder) method¶
Defined in
Type: MauiAppBuilderMixins
Namespace: Microsoft.Maui.Hosting
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
Overloads¶
- 1.
public static MauiAppBuilder ConfigureReactiveUIPopup(this MauiAppBuilder builder) - 2.
public static MauiAppBuilder ConfigureReactiveUIPopup(this MauiAppBuilder builder, Action<IReactiveUIBuilder>? configureReactiveUI) - 3.
public static MauiAppBuilder ConfigureReactiveUIPopup(this MauiAppBuilder builder, Action? backPressHandler) - 4.
public static MauiAppBuilder ConfigureReactiveUIPopup(this MauiAppBuilder builder, Action? backPressHandler, Action<IReactiveUIBuilder>? configureReactiveUI)
1. Overload¶
public static MauiAppBuilder ConfigureReactiveUIPopup(this MauiAppBuilder builder)
Summary: Registers all the default registrations that are needed by the Splat module. Initialize resolvers with the default ReactiveUI types. Configures ReactiveUI Maui Mopups.
Parameters
| Name | Type | Description |
|---|---|---|
builder | MauiAppBuilder | The builder. |
Returns: MauiAppBuilder -- MauiAppBuilder.
2. Overload¶
public static MauiAppBuilder ConfigureReactiveUIPopup(this MauiAppBuilder builder, Action<IReactiveUIBuilder>? configureReactiveUI)
Summary: Configures ReactiveUI integration with popup support for a .NET MAUI application using the specified builder.
Parameters
| Name | Type | Description |
|---|---|---|
builder | MauiAppBuilder | The MAUI application builder used to configure the application and register services. |
configureReactiveUI | Action | An optional action to further configure the ReactiveUI builder, allowing customization of ReactiveUI features and services. |
Returns: MauiAppBuilder -- The same MAUI application builder instance, enabling method chaining.
Remarks
This method sets up the necessary components to use ReactiveUI with popup functionality in a .NET MAUI application. It should be called during application startup as part of the builder configuration pipeline.
3. Overload¶
public static MauiAppBuilder ConfigureReactiveUIPopup(this MauiAppBuilder builder, Action? backPressHandler)
Summary: Configures the reactive UI mopups.
Parameters
| Name | Type | Description |
|---|---|---|
builder | MauiAppBuilder | The builder. |
backPressHandler | Action? | The back press handler. |
Returns: MauiAppBuilder -- MauiAppBuilder.
4. Overload¶
public static MauiAppBuilder ConfigureReactiveUIPopup(this MauiAppBuilder builder, Action? backPressHandler, Action<IReactiveUIBuilder>? configureReactiveUI)
Summary: Configures ReactiveUI popup support for the specified .NET MAUI application builder, enabling integration of reactive popups and optional back press handling.
Parameters
| Name | Type | Description |
|---|---|---|
builder | MauiAppBuilder | The MAUI application builder to configure with ReactiveUI popup functionality. |
backPressHandler | Action? | An optional action to invoke when the back button is pressed while a popup is active. If null, the default back press behavior is used. |
configureReactiveUI | Action | An optional action to further configure the ReactiveUI builder before the application is built. |
Returns: MauiAppBuilder -- The same MAUI application builder instance, allowing for method chaining.
Remarks
Call this method during application startup to enable ReactiveUI-based popups in your MAUI app. This method also allows customization of back press handling and additional ReactiveUI configuration through the provided delegates.