Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide Maui Resource Dictionary #1749

Merged
merged 1 commit into from
Aug 8, 2023
Merged

Provide Maui Resource Dictionary #1749

merged 1 commit into from
Aug 8, 2023

Conversation

dansiegel
Copy link
Contributor

GitHub Issue (If applicable): #

  • closes unoplatform/uno.extensions-private#102

PR Type

What kind of change does this PR introduce?

  • Feature

What is the current behavior?

There is no good way to inject "Application Level Resources" into Maui Embedding

What is the new behavior?

We now have an extension method on the MauiAppBuilder to provide a Maui ResourceDictionary which can be injected into the MauiContentHost providing all of the resources which you might normally put in a Maui Application, thus eliminating the need to inject these into each custom user control.

@dansiegel dansiegel merged commit 9cc902c into main Aug 8, 2023
11 of 12 checks passed
@dansiegel dansiegel deleted the dev/ds/maui-resources branch August 8, 2023 19:24
@nickrandolph
Copy link
Contributor

@mergify backport legacy/2x

@mergify
Copy link

mergify bot commented Aug 14, 2023

backport legacy/2x

✅ Backports have been created

nickrandolph added a commit that referenced this pull request Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants