DXSwitch.ThumbColor Property
Namespace: DevExpress.Maui.Core
Assembly: DevExpress.Maui.Core.dll
NuGet Package: DevExpress.Maui.Core
Declaration
public Color ThumbColor { get; set; }
Property Value
Type | Description |
---|---|
Color | The thumb color. |
Remarks
The DXSwitch gets its thumb color from the applied Theme or ThemeSeedColor.
Use the ThumbColor
property to define the thumb color explicitly. You can set the ThumbColor
property to null
to restore the original thumb color:
<dx:DXSwitch ...
IsChecked="False"
ThumbColor="{x:Null}"/>
For more information, refer to the following section: .NET MAUI DXSwitch: Thumb.
See Also