14 references to ItemsSource
Microsoft.Maui.Controls (14)
Picker\Picker.cs (13)
40 /// <summary>Bindable property for <see cref="ItemsSource"/>.</summary> 42 BindableProperty.Create(nameof(ItemsSource), typeof(IList), typeof(Picker), default(IList), 347 if (ItemsSource == null) 350 foreach (object item in ItemsSource) 385 if (ItemsSource != null) 387 SetValue(SelectedIndexProperty, ItemsSource.IndexOf(selectedItem), SetterSpecificity.FromHandler); 403 if (ItemsSource != null) 405 var item = index < ItemsSource.Count ? ItemsSource[index] : null; 443 int IItemDelegate<string>.GetCount() => Items?.Count ?? ItemsSource?.Count ?? 0; 451 if (index < ItemsSource?.Count) 452 return GetDisplayMember(ItemsSource[index]); 470 return $"{base.GetDebuggerDisplay()}, Items = {ItemsSource?.Count ?? 0}, {selectedItemText}";
Picker\Picker.Mapper.cs (1)
18 PickerHandler.Mapper.ReplaceMapping<Picker, IPickerHandler>(nameof(Picker.ItemsSource), MapItemsSource);