[]
Resource key for a button accent style.
public static ComponentResourceKey AccentStyleKey { get; }
The AccentStyleKey property can be used to create a dynamic reference to the accent style.
This dynamic reference will automatically update if application theme is changed.
<pre><code class="lang-csharp"><c1:C1Button Content="Default Button" Style="{DynamicResource {x:Static c1:C1Button.AccentStyleKey}}" IsDefault="True"/></code></pre>
</example>