I'm building an app where the user can switch the appearance of the UI controls a runtime.
I do this in codebehind like so:
StyleManager.ApplicationTheme =
new
MaterialTheme();
MaterialPalette.Palette.FontSize = 12;
MaterialPalette.Palette.MainColor = (Color)ColorConverter.ConvertFromString(
"#FFFC0EF1"
);
MaterialPalette.Palette.FontFamily =
new
FontFamily(
"Calibri"
);
But besides the radcontrols, there are a lot of MS controls (mostly Label), who's color, font and size i also have to switch.
And (to my surprise) there is no "RadLabel" or "RadTextBlock".
So how can I accomplish this with the regular controls? Can I make them "listen" to the StyleManager.ApplicationTheme ?