Forum Xamarin.Android

Weird behaviour -> label.SetBinding(Label.TextColorProperty,...)

Hey, i was trying to make dynamic color changing and i get stuck with sth very weird.


titleLabel.SetBinding(Label.TextColorProperty, new Binding("Titlecolor"));


var myItem = new myItem
Titlecolor = Xamarin.Forms.Color.Red,


public classmyItem
public Xamarin.Forms.Color Titlecolor { get; set; }

When i debug it works inside MyModel but when i get it by myPage it seems titleLabel.textcolor doesnt see any changes ( R=-1 B=-1 G=-1 )
What could be wrong with my implementation ? Did i forget sth ?

Sign In or Register to comment.