Silverlight – Get the current theme at the time of the application – Windows Phone 7

I want to see what is the current theme in Windows Phone 7 so that I can change the text, image and color according to the current theme.

For example, If the current theme is yellow, I will change all the colors of the image to yellow.

you can use The following code accesses the current theme resources:

Application.Current.Resources[""]

The available theme resource names are listed in Here. The result of the above operation must be converted to the appropriate type; for example, if you want to get PhoneAccentBrush, you must cast the result to SolidColorBrush.

I want to see What is the current theme in Windows Phone 7 so that I can change the text, image and color according to the current theme.

For example, if the current theme is yellow, I will change all the colors of the image to Yellow.

You can use the following code to access the current theme resources:

Application.Current .Resources[""]

The available theme resource names are listed here. The result of the above operation must be converted to an appropriate type; for example, if you want to get PhoneAccentBrush, you must force the result Convert to SolidColorBrush.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 4036 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.