1 implementation of IPicker
Microsoft.Maui.Controls (1)
Picker\Picker.cs (1)
16
public partial class Picker : View, IFontElement, ITextElement, ITextAlignmentElement, IElementConfiguration<Picker>,
IPicker
33 references to IPicker
Microsoft.Maui (26)
Core\Extensions\IPickerExtension.cs (2)
8
public static string[] GetItemsAsArray(this
IPicker
picker)
17
public static List<string> GetItemsAsList(this
IPicker
picker)
Handlers\DatePicker\DatePickerHandler.cs (1)
39
public static CommandMapper<
IPicker
, IDatePickerHandler> CommandMapper = new(ViewCommandMapper)
Handlers\Picker\IPickerHandler.cs (1)
17
new
IPicker
VirtualView { get; }
Handlers\Picker\PickerHandler.cs (11)
17
public static IPropertyMapper<
IPicker
, IPickerHandler> Mapper = new PropertyMapper<
IPicker
, PickerHandler>(ViewMapper)
22
[nameof(
IPicker
.CharacterSpacing)] = MapCharacterSpacing,
23
[nameof(
IPicker
.Font)] = MapFont,
24
[nameof(
IPicker
.SelectedIndex)] = MapSelectedIndex,
25
[nameof(
IPicker
.TextColor)] = MapTextColor,
26
[nameof(
IPicker
.Title)] = MapTitle,
27
[nameof(
IPicker
.TitleColor)] = MapTitleColor,
30
[nameof(
IPicker
.Items)] = MapItems,
33
public static CommandMapper<
IPicker
, IPickerHandler> CommandMapper = new(ViewCommandMapper)
51
IPicker
IPickerHandler.VirtualView => VirtualView;
Handlers\Picker\PickerHandler.Standard.cs (11)
5
public partial class PickerHandler : ViewHandler<
IPicker
, object>
10
public static void MapReload(IPickerHandler handler,
IPicker
picker, object? args) { }
11
internal static void MapItems(IPickerHandler handler,
IPicker
picker) { }
13
public static void MapTitle(IPickerHandler handler,
IPicker
view) { }
14
public static void MapTitleColor(IPickerHandler handler,
IPicker
view) { }
15
public static void MapSelectedIndex(IPickerHandler handler,
IPicker
view) { }
16
public static void MapCharacterSpacing(IPickerHandler handler,
IPicker
view) { }
17
public static void MapFont(IPickerHandler handler,
IPicker
view) { }
18
public static void MapTextColor(IPickerHandler handler,
IPicker
view) { }
19
public static void MapHorizontalTextAlignment(IPickerHandler handler,
IPicker
view) { }
20
public static void MapVerticalTextAlignment(IPickerHandler handler,
IPicker
view) { }
Microsoft.Maui.Controls (7)
Picker\Picker.cs (5)
254
Handler?.UpdateValue(nameof(
IPicker
.Items));
302
Handler?.UpdateValue(nameof(
IPicker
.Items));
349
Handler?.UpdateValue(nameof(
IPicker
.Items));
432
IList<string>
IPicker
.Items => Items;
434
int
IPicker
.SelectedIndex
Picker\Picker.Mapper.cs (2)
21
internal static void MapItemsSource(IPickerHandler handler,
IPicker
view)
23
handler.UpdateValue(nameof(
IPicker
.Items));