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 PickerColumnBuilder(UIPickerViewBinding binding, IList <T> dataSource) { this.binding = binding; column = new PickerColumn <T>(binding); column.DataSource = dataSource; binding.AddColumn(column); }
public static UIPickerViewBinding Picker(this IBindingList bindings, UIPickerView view) { var binding = new UIPickerViewBinding(); binding.PickerView = view; bindings.Add(binding); return(binding); }
public static PickerColumnBuilder <T> Column <T>(this UIPickerViewBinding binding, IList <T> dataSource) { return(new PickerColumnBuilder <T>(binding, dataSource)); }
public PickerColumn(UIPickerViewBinding owner) { Assert.Argument(owner, "owner").NotNull(); Owner = owner; }