Selasa, 05 Oktober 2010

ResourceDictionary in WP7

WP7 is based on Silverlight 3+ and by default it’s not possible to create a new resource dictionary. However it’s pretty easy to work around – just follow the same guidelines as if it was in Silverlight 3. 1) Create a new Class and rename it YourResourceDictionary.xaml (or whatever fits you).2) Replace the content from the Class with the content you need:

Tidak ada komentar:

Posting Komentar