You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone, based on my understanding (if correct), there are two ways to merge resources: static merging and dynamic merging.
Static merging is done by using Source=the xaml path of this **same library**.
Dynamic merging involves using the class name defined in XAML, like <TheResClass />.
Now, I have encountered a problem. In my app.xaml, I need to statically merge the XAML styles from library B. It seems that I can only use dynamic merging to reference XAML from other libraries because I have noticed that the old WPF pack URI is no longer working. However, after dynamically merging, I am unable to modify certain tags that have already used StaticResource.
So, I am quite confused now. How can I statically merge XAML from other libraries?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, based on my understanding (if correct), there are two ways to merge resources: static merging and dynamic merging.
Static merging is done by using
Source=the xaml path of this **same library**
.Dynamic merging involves using the class name defined in XAML, like
<TheResClass />
.Now, I have encountered a problem. In my app.xaml, I need to statically merge the XAML styles from library B. It seems that I can only use dynamic merging to reference XAML from other libraries because I have noticed that the old WPF
pack
URI is no longer working. However, after dynamically merging, I am unable to modify certain tags that have already usedStaticResource
.So, I am quite confused now. How can I statically merge XAML from other libraries?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions