Back to Devexpress

DXToggleButton.CheckedBackgroundColor Property

maui-devexpress-dot-maui-dot-core-dot-dxtogglebutton-eb2faaa5.md

latest1.4 KB
Original Source

DXToggleButton.CheckedBackgroundColor Property

Gets or sets the background color of the toggle button in the checked state. This is a bindable property.

Namespace : DevExpress.Maui.Core

Assembly : DevExpress.Maui.Core.dll

NuGet Package : DevExpress.Maui.Core

Declaration

csharp
public Color CheckedBackgroundColor { get; set; }

Property Value

TypeDescription
Color

The background color of the toggle button in the checked state.

|

Remarks

The toggle button in the checked state gets its background color from the applied theme or ThemeSeedColor. Use the CheckedBackgroundColor property to apply a custom color, or set the CheckedBackgroundColor property to null to use the original background color:

xaml
<dx:DXToggleButton ...
            IsChecked="True"
            CheckedBackgroundColor="{x:Null}"/>

See Also

DXToggleButton Class

DXToggleButton Members

DevExpress.Maui.Core Namespace