13 references to ItemsSource
Microsoft.Maui.Controls (13)
Picker\Picker.cs (12)
37 /// <summary>Bindable property for <see cref="ItemsSource"/>.</summary> 39 BindableProperty.Create(nameof(ItemsSource), typeof(IList), typeof(Picker), default(IList), 344 if (ItemsSource == null) 347 foreach (object item in ItemsSource) 382 if (ItemsSource != null) 384 SetValue(SelectedIndexProperty, ItemsSource.IndexOf(selectedItem), SetterSpecificity.FromHandler); 400 if (ItemsSource != null) 402 var item = index < ItemsSource.Count ? ItemsSource[index] : null; 440 int IItemDelegate<string>.GetCount() => Items?.Count ?? ItemsSource?.Count ?? 0; 448 if (index < ItemsSource?.Count) 449 return GetDisplayMember(ItemsSource[index]);
Picker\Picker.Mapper.cs (1)
18 PickerHandler.Mapper.ReplaceMapping<Picker, IPickerHandler>(nameof(Picker.ItemsSource), MapItemsSource);