Back to Devexpress

DXToggleButton.CheckedDisabledTextColor Property

maui-devexpress-dot-maui-dot-core-dot-dxtogglebutton-0dd2309a.md

latest1.5 KB
Original Source

DXToggleButton.CheckedDisabledTextColor Property

Gets or sets the text color of the toggle button in checked and disabled states. This is a bindable property.

Namespace : DevExpress.Maui.Core

Assembly : DevExpress.Maui.Core.dll

NuGet Package : DevExpress.Maui.Core

Declaration

csharp
public Color CheckedDisabledTextColor { get; set; }

Property Value

TypeDescription
Color

The text color of the toggle button in checked and disabled states.

|

Remarks

The toggle button in checked and disabled states gets its text color from the applied theme or ThemeSeedColor. Use the CheckedDisabledTextColor property to apply a custom color, or set the CheckedDisabledTextColor property to null to use the original text color:

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

See Also

DXToggleButton Class

DXToggleButton Members

DevExpress.Maui.Core Namespace