[]
        
(Showing Draft Content)

C1.WPF.Core.C1Button.AccentStyleKey

AccentStyleKey Property

AccentStyleKey

Resource key for a button accent style.

Declaration
public static ComponentResourceKey AccentStyleKey { get; }
Remarks

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>