static ThemeColorBrush() { // Note: use ThemeHelper so it subscribes to events first var dummyCall = ThemeHelper.GetAccentColor(); }
protected override object ProvideDynamicValue(IServiceProvider serviceProvider) { return(ThemeHelper.GetAccentColor(AccentColorStyle)); }