14 references to PeekAreaInsets
Microsoft.Maui.Controls (14)
Handlers\Items\iOS\CarouselViewLayout.cs (8)
26 var width = size.Width != 0 ? size.Width - carouselView.PeekAreaInsets.Left - carouselView.PeekAreaInsets.Right : 0; 27 var height = size.Height != 0 ? size.Height - carouselView.PeekAreaInsets.Top - carouselView.PeekAreaInsets.Bottom : 0; 53 var left = insets.Left + (float)carouselView.PeekAreaInsets.Left; 54 var right = insets.Right + (float)carouselView.PeekAreaInsets.Right; 55 var top = insets.Top + (float)carouselView.PeekAreaInsets.Top; 56 var bottom = insets.Bottom + (float)carouselView.PeekAreaInsets.Bottom;
Handlers\Items2\CarouselViewHandler2.iOS.cs (4)
59 sectionMargin = VirtualView.PeekAreaInsets.VerticalThickness / 2; 60 var newGroupHeight = environment.Container.ContentSize.Height - VirtualView.PeekAreaInsets.VerticalThickness; 66 sectionMargin = VirtualView.PeekAreaInsets.HorizontalThickness / 2; 67 var newGroupWidth = environment.Container.ContentSize.Width - VirtualView.PeekAreaInsets.HorizontalThickness;
Items\CarouselView.cs (2)
36 /// <summary>Bindable property for <see cref="PeekAreaInsets"/>.</summary> 37 public static readonly BindableProperty PeekAreaInsetsProperty = BindableProperty.Create(nameof(PeekAreaInsets), typeof(Thickness), typeof(CarouselView), default(Thickness));