Ievgen
Ievgen

Reputation: 4443

Pack uri in wpf

I found in application two difference examples of Image Source URI.

What the difference between them?

Source="/MyAssembly;component/Resources/Images/image1.png"

Source="pack://application:,,,/MyAssembly;component/Resources/Images/image1.png"

Thanks

Upvotes: 0

Views: 2840

Answers (1)

Nikolay
Nikolay

Reputation: 3828

First one is short form of Pack URI, second - full. Details - http://msdn.microsoft.com/en-us/library/aa970069.aspx

Upvotes: 3

Related Questions