6 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)
Microsoft.Maui.Controls.Compatibility (1)
iOS\CollectionView\StructuredItemsViewRenderer.cs (1)
69 return new ListViewLayout(new LinearItemsLayout(ItemsLayoutOrientation.Vertical), itemSizingStrategy);
24 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)
113 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),
Microsoft.Maui.Controls.Compatibility (5)
iOS\CollectionView\CarouselViewLayout.cs (1)
38 if (_itemsLayout is LinearItemsLayout linearItemsLayout)
iOS\CollectionView\ItemsViewLayout.cs (2)
87 if (propertyChanged.IsOneOf(LinearItemsLayout.ItemSpacingProperty, 144 if (_itemsLayout is LinearItemsLayout listViewLayout)
iOS\CollectionView\ListViewLayout.cs (1)
9 public ListViewLayout(LinearItemsLayout itemsLayout, ItemSizingStrategy itemSizingStrategy) : base(itemsLayout, itemSizingStrategy)
iOS\CollectionView\StructuredItemsViewRenderer.cs (1)
63 if (itemsLayout is LinearItemsLayout listItemsLayout)