5 instantiations of LinearItemsLayout
Microsoft.Maui.Controls (5)
Items\CarouselView.cs (1)
226 ItemsLayout = new LinearItemsLayout(ItemsLayoutOrientation.Horizontal)
Items\LinearItemsLayout.cs (4)
15 public static readonly IItemsLayout Vertical = new LinearItemsLayout(ItemsLayoutOrientation.Vertical); 17 public static readonly IItemsLayout Horizontal = new LinearItemsLayout(ItemsLayoutOrientation.Horizontal); 20 public static readonly IItemsLayout CarouselVertical = new LinearItemsLayout(ItemsLayoutOrientation.Vertical) 26 internal static readonly LinearItemsLayout CarouselDefault = new LinearItemsLayout(ItemsLayoutOrientation.Horizontal)
19 references to LinearItemsLayout
Microsoft.Maui.Controls (19)
Items\CarouselLayoutTypeConverter.cs (6)
22 return LinearItemsLayout.CarouselDefault; 25 return LinearItemsLayout.CarouselVertical; 27 throw new InvalidOperationException($"Cannot convert \"{strValue}\" into {typeof(LinearItemsLayout)}"); 32 if (value is not LinearItemsLayout lil) 35 if (lil == LinearItemsLayout.CarouselDefault) 38 if (lil == LinearItemsLayout.CarouselVertical)
Items\CarouselView.cs (4)
189 BindableProperty.Create(nameof(ItemsLayout), typeof(LinearItemsLayout), typeof(ItemsView), 190 LinearItemsLayout.CarouselDefault); 194 public LinearItemsLayout ItemsLayout 196 get => (LinearItemsLayout)GetValue(ItemsLayoutProperty);
Items\ItemsLayoutTypeConverter.cs (6)
27 return LinearItemsLayout.Vertical; 29 return LinearItemsLayout.Horizontal; 58 if (value is LinearItemsLayout && value == LinearItemsLayout.Vertical) 60 if (value is LinearItemsLayout && value == LinearItemsLayout.Horizontal)
Items\ItemsView.cs (1)
116 LinearItemsLayout.Vertical, propertyChanged: OnInternalItemsLayoutPropertyChanged);
Items\LinearItemsLayout.cs (2)
26 internal static readonly LinearItemsLayout CarouselDefault = new LinearItemsLayout(ItemsLayoutOrientation.Horizontal) 34 BindableProperty.Create(nameof(ItemSpacing), typeof(double), typeof(LinearItemsLayout), default(double),