
I am trying to create a SolidColorBrush for a custom Control that uses the ThemeResourceKind.ControlForegroundBrushOutlineAccent.ToResourceKey() C# resource key, however I am unable to load the resource with the following code:var resource = Application.Current?.FindResource(ThemeResourceKind.ControlBackgroundBrushSolidAccent.ToResourceKey());
Does anyone know the syntax to load these resources?