Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

DynamicResource not working in Xamarin Forms Switch #11284

@AnandRaj32

Description

@AnandRaj32

Description

When setting color through DynamicResource markup extension in AppThemeBinding for Switch, makes the appearance doesn't match the provided color. In the case of StaticResource, it is working fine.

Steps to Reproduce

  1. Run the Sample and you can see the output.

Expected Behavior

Color should change based on the provided values.

Actual Behavior

Color does not match with the provided values.

Basic Information

  • Version with issue: 4.7.0.968
  • IDE: Visual Studio 2019
  • Platform Target Frameworks:
    • iOS: iOS Simulator version 13.3
    • Android: Android OS Version 10

Reproduction Link

Themes.zip

Metadata

Metadata

Labels

a/resourcesa/switchs/needs-info ❓A question has been asked that requires an answer before work can continue on this issue.s/unverifiedNew report that has yet to be verifiedt/bug 🐛

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions