public PickerColumnBuilder(UIPickerViewBinding binding, IList <T> dataSource) { this.binding = binding; column = new PickerColumn <T>(binding); column.DataSource = dataSource; binding.AddColumn(column); }
public static PickerColumnBuilder <T> Column <T>(this UIPickerViewBinding binding, IList <T> dataSource, out PickerColumn <T> column) { var builder = new PickerColumnBuilder <T>(binding, dataSource); column = builder.Column; return(builder); }
public static IProperty <T> SelectedItemProperty <T>(this PickerColumn <T> column) { return(column.Property(_ => _.SelectedItem)); }
public PickerColumnBuilder <U> OtherColumn <U>(out PickerColumn <U> column, IList <U> dataSource) { return(binding.Column(dataSource, out column)); }