Skip to content

Applies to

net10.0, net10.0-ios26.0, net10.0-android36.0, net10.0-maccatalyst26.0, net10.0-macos26.0, net10.0-tvos26.0, net9.0, net8.0, net462, net481

public IReactiveUIBuilder ConfigureViewLocator(Action<DefaultViewLocator> configure)

View source

Summary: Configures the ReactiveUI view locator.

Parameters

NameTypeDescription
configureActionThe configuration action.

Returns: IReactiveUIBuilder -- The builder instance for chaining.

Remarks

At build time the action runs once on the registered DefaultViewLocator, so mappings added by RegisterViews or WithViewModule are kept. When no DefaultViewLocator is registered, a new one is configured and registered as the single IViewLocator.