26 references to Picker
Microsoft.Maui.Controls (26)
Hosting\AppHostBuilderExtensions.cs (2)
78
handlersCollection.AddHandler<
Picker
, PickerHandler>();
258
Picker
.RemapForControls();
Picker\Picker.cs (18)
19
public partial class Picker : View, IFontElement, ITextElement, ITextAlignmentElement, IElementConfiguration<
Picker
>, IPicker
29
BindableProperty.Create(nameof(Title), typeof(string), typeof(
Picker
), default(string));
33
BindableProperty.Create(nameof(TitleColor), typeof(Color), typeof(
Picker
), default(Color));
37
BindableProperty.Create(nameof(SelectedIndex), typeof(int), typeof(
Picker
), -1, BindingMode.TwoWay,
42
BindableProperty.Create(nameof(ItemsSource), typeof(IList), typeof(
Picker
), default(IList),
47
BindableProperty.Create(nameof(SelectedItem), typeof(object), typeof(
Picker
), null, BindingMode.TwoWay,
68
readonly Lazy<PlatformConfigurationRegistry<
Picker
>> _platformConfigurationRegistry;
74
_platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<
Picker
>>(() => new PlatformConfigurationRegistry<
Picker
>(this));
226
BindableProperty.Create("Display", typeof(string), typeof(
Picker
), default(string));
240
var
picker = (
Picker
)bindable;
262
((
Picker
)bindable).OnItemsSourceChanged((IList)oldValue, (IList)newValue);
359
var
picker = (
Picker
)bindable;
366
var
picker = (
Picker
)bindable;
414
public IPlatformElementConfiguration<T,
Picker
> On<T>() where T : IConfigPlatform
Picker\Picker.Mapper.cs (2)
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)