The IconTintColorBehavior in .NET MAUI does not apply the tint color immediately when the TintColor property changes. The color only updates after interacting with the control (e.g., clicking the ImageButton).
Steps to Reproduce:
Create a custom control using an ImageButton.
Bind the TintColor property of the IconTintColorBehavior to a property in the ViewModel.
Change the bound property value programmatically.
Observe that the tint color does not change immediately.
Expected Behavior: The tint color should update immediately when the TintColor property changes.
Actual Behavior: The tint color only updates after the ImageButton is clicked or interacted with.
Type of issue
Code doesn't work
Description
The IconTintColorBehavior in .NET MAUI does not apply the tint color immediately when the TintColor property changes. The color only updates after interacting with the control (e.g., clicking the ImageButton).
Steps to Reproduce:
Expected Behavior: The tint color should update immediately when the TintColor property changes.
Actual Behavior: The tint color only updates after the ImageButton is clicked or interacted with.
Environment:
Page URL
N/A
Content source URL
N/A
Document Version Independent Id
N/A
Article author
N/A
Metadata
No response