Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Add DefaultView property for RegionManager #62

Closed
dansiegel opened this issue Jun 6, 2022 · 0 comments · Fixed by #63
Closed

Add DefaultView property for RegionManager #62

dansiegel opened this issue Jun 6, 2022 · 0 comments · Fixed by #63
Labels
enhancement New feature or request

Comments

@dansiegel
Copy link
Member

Description

Currently the RegionManager has a method RegisterViewWithRegion. This can be called in code to define any default views that should be populated in a Region with a given Name. There is however no current way to do this in XAML.

<ContentView prism:RegionManager.RegionName="MyRegion"
             prism:RegionManager.DefaultView="ViewA" />
@dansiegel dansiegel added the enhancement New feature or request label Jun 6, 2022
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant