Change your Text Color or Background as per light or dark Theme in Windows Silverlight Development XAML
Boolean isDark = false; var bgtheme = Application.Current.Resources.ToString(); if (bgtheme == “#FF000000”) isDark = true; else isDark = false; if…