Skip to content

Switch control ignores OnColor and ThumbColor #19380

@tgiacchi

Description

@tgiacchi

Description

On android, always white. On windows always purple. Doesn't matter what they are set to.

<Switch IsToggled="true" OnColor="Red" ThumbColor="Pink" BackgroundColor="Azure" VerticalOptions="Center"/>

Steps to Reproduce

		<Switch IsToggled="true"  OnColor="Red" ThumbColor="Pink" BackgroundColor="Azure" VerticalOptions="Center"/>

Link to public reproduction project repository

No response

Version with bug

8.0.3

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android, Windows, I was not able test on other platforms

Affected platform versions

Android 14, Windows 10

Did you find any workaround?

No workaround. Living with it for the time being.

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions