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

Region Default View #63

Merged
merged 3 commits into from
Jun 6, 2022
Merged

Region Default View #63

merged 3 commits into from
Jun 6, 2022

Conversation

dansiegel
Copy link
Member

Description

This adds a DefaultView Attached Property for the RegionManager. When specified on a given Region the Region AutoPopulate Behavior will evaluate the value from the TargetElement and add/create the specified View and add it to the Region. This will occur prior to Prism's Page Navigation interfaces firing meaning that you can tie into IInitialize, or INavigationAware to pass the context to the ViewModel of the Region View. Note that this will accept a name, type or View instance.

image

image

@dansiegel dansiegel added the enhancement New feature or request label Jun 6, 2022
@dansiegel dansiegel merged commit 2f4fb31 into master Jun 6, 2022
@dansiegel dansiegel deleted the region-defaultview branch June 6, 2022 22:13
# 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 this pull request may close these issues.

Add DefaultView property for RegionManager
1 participant