Binding Property with TintColor #1164
-
I can see if i hardcode color name in TintColor it works.
If i set StaticResource in TintColor it works, but it doesn’t work when i use Binding property.
Any idea for this? |
Beta Was this translation helpful? Give feedback.
Answered by
pictos
Apr 28, 2023
Replies: 2 comments 11 replies
-
Behaviors don't inherit the BindingContext from their parent, so you have to use a relative binding... Here's a sample of how to do it. |
Beta Was this translation helpful? Give feedback.
11 replies
Answer selected by
pictos
-
Closed as answered |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Behaviors don't inherit the BindingContext from their parent, so you have to use a relative binding... Here's a sample of how to do it.