29 references to Picker
Microsoft.Maui.Controls (29)
Hosting\AppHostBuilderExtensions.cs (2)
78 handlersCollection.AddHandler<Picker, PickerHandler>(); 252 Picker.RemapForControls();
Picker\Picker.cs (18)
16 public partial class Picker : View, IFontElement, ITextElement, ITextAlignmentElement, IElementConfiguration<Picker>, IPicker 26 BindableProperty.Create(nameof(Title), typeof(string), typeof(Picker), default(string)); 30 BindableProperty.Create(nameof(TitleColor), typeof(Color), typeof(Picker), default(Color)); 34 BindableProperty.Create(nameof(SelectedIndex), typeof(int), typeof(Picker), -1, BindingMode.TwoWay, 39 BindableProperty.Create(nameof(ItemsSource), typeof(IList), typeof(Picker), default(IList), 44 BindableProperty.Create(nameof(SelectedItem), typeof(object), typeof(Picker), null, BindingMode.TwoWay, 65 readonly Lazy<PlatformConfigurationRegistry<Picker>> _platformConfigurationRegistry; 71 _platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<Picker>>(() => new PlatformConfigurationRegistry<Picker>(this)); 223 BindableProperty.Create("Display", typeof(string), typeof(Picker), default(string)); 237 var picker = (Picker)bindable; 259 ((Picker)bindable).OnItemsSourceChanged((IList)oldValue, (IList)newValue); 356 var picker = (Picker)bindable; 363 var picker = (Picker)bindable; 411 public IPlatformElementConfiguration<T, Picker> On<T>() where T : IConfigPlatform
Picker\Picker.iOS.cs (2)
9 public static void MapUpdateMode(IPickerHandler handler, Picker picker) 15 public static void MapUpdateMode(PickerHandler handler, Picker picker) =>
Picker\Picker.Mapper.cs (3)
13 PickerHandler.Mapper.ReplaceMapping<Picker, IPickerHandler>(PlatformConfiguration.iOSSpecific.Picker.UpdateModeProperty.PropertyName, MapUpdateMode); 18 PickerHandler.Mapper.ReplaceMapping<Picker, IPickerHandler>(nameof(Picker.ItemsSource), MapItemsSource);
PlatformConfiguration\iOSSpecific\Picker.cs (4)
4 using FormsElement = Maui.Controls.Picker; 25 public static UpdateMode UpdateMode(this IPlatformElementConfiguration<iOS, FormsElement> config) 31 public static IPlatformElementConfiguration<iOS, FormsElement> SetUpdateMode(this IPlatformElementConfiguration<iOS, FormsElement> config, UpdateMode value)