Hi!
I want to bind the row height of a list view, so i can dynamically change it. Is it possible?
So far i've created a bindable property:
public static BindableProperty RowHeightProperty =
BindableProperty.Create<LanguageCell, double> (
b => b.Height,
0
);
public double RowHeight {
get {
return (double)GetValue (RowHeightProperty);
}
set {
SetValue (RowHeightProperty, value);
}
}
this.SetBinding (LanguageCell.RowHeightProperty, "RowHeight");
I have that code inside a ViewCell (Called LanguageCell) but when I do RowHeight = 40 it does nothing... What i'm I missing?
Thanks!