Replacing default colors with theme colors.
scriptToRun = scriptToRun.Replace("BGColor", FetchBackgroundColor());
scriptToRun = scriptToRun.Replace("FGColor", FetchFontColor());
private string FetchBackgroundColor()
return IsBackgroundBlack() ? "#000;" : "#fff";
private string FetchFontColor()
return IsBackgroundBlack() ? "#fff;" : "#000";
private static bool IsBackgroundBlack()
return BackGroundColorResource == "#FF000000";
private static string BackGroundColorResource
var mc = (Color)Application.Current.Resources["PhoneBackgroundColor"];
string color = mc.ToString();
About the Author
Nick Randolph runs Built to Roam, a consulting company that specializes in training, mentoring and assisting other companies build mobile applications. With a heritage in rich client applications for both the desktop and a variety of mobile platforms, Nick currently presents, writes and educates on the Windows Phone platform.
The Modern Data Warehouse (MDW) pattern makes it easier than ever to deal with the increasing volume of enterprise data by enabling massive, global-scale writes operations while making the information instantly available for reporting and insights.
Responding to user requests for a more seamless startup experience, Uno Platform 4.8 introduces a new App Template wizard to do just that.
The new ledger feature in SQL Server 2022 provides blockchain-based security to ensure data isn't tampered with.
User experience expert Debbie Levitt provided some saucy answers about an upcoming Visual Studio Live! presentation with an even saucier title: Fast Focus: WTF UX - UX Research and Design AMA.
Developers can now sign up for a private preview of enhanced chat capabilities coming to GitHub Copilot, the "AI pair programmer" that works in the Visual Studio 2022 IDE and in Visual Studio Code.
> More Webcasts