Skip to main content
All docs
V26.1
  • ON

    DXToggleButton.CheckedPressedTextColor Property

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

    Namespace: DevExpress.Maui.Core

    Assembly: DevExpress.Maui.Core.dll

    NuGet Package: DevExpress.Maui.Core

    Declaration

    public Color CheckedPressedTextColor { get; set; }

    Property Value

    Type Description
    Color

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

    Remarks

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

    <dx:DXToggleButton ...
                IsChecked="True"
                CheckedPressedTextColor="{x:Null}"/>
    
    See Also