1 write to PlatformHandler
Microsoft.Maui.Controls (1)
Handlers\Items\iOS\TemplatedCell.cs (1)
209 PlatformHandler = renderer;
30 references to PlatformHandler
Microsoft.Maui.Controls (30)
Handlers\Items\iOS\CarouselViewController.cs (2)
71 var element = (cell as TemplatedCell)?.PlatformHandler?.VirtualView as VisualElement; 612 if (!((cell as CarouselTemplatedCell)?.PlatformHandler?.VirtualView is View itemView))
Handlers\Items\iOS\HeightConstrainedTemplatedCell.cs (3)
24 if (PlatformHandler?.VirtualView == null) 29 var bounds = PlatformHandler.VirtualView.Frame; 36 var desiredBounds = PlatformHandler.VirtualView.Measure(double.PositiveInfinity, bounds.Height);
Handlers\Items\iOS\HorizontalCell.cs (1)
21 var measure = PlatformHandler.VirtualView.Measure(double.PositiveInfinity, ConstrainedDimension);
Handlers\Items\iOS\HorizontalTemplatedHeaderView.cs (4)
21 if (PlatformHandler?.VirtualView == null) 26 var measure = PlatformHandler.VirtualView.Measure(double.PositiveInfinity, ConstrainedDimension); 29 var width = PlatformHandler.VirtualView.Width > 0 30 ? PlatformHandler.VirtualView.Width : measure.Width;
Handlers\Items\iOS\ItemsViewController.cs (1)
829 (templatedCell.PlatformHandler?.VirtualView as View)?.BindingContext is object bindingContext)
Handlers\Items\iOS\TemplatedCell.cs (11)
80 if (PlatformHandler?.VirtualView is View view) 116 var platformView = PlatformHandler.ToPlatform(); 121 PlatformHandler.VirtualView.Arrange(nativeBounds); 131 var platformView = PlatformHandler.ToPlatform(); 136 PlatformHandler.VirtualView.Measure(width, height); 141 PlatformHandler.VirtualView.Arrange(rectangle); 153 var oldElement = PlatformHandler?.VirtualView as View; 211 var platformView = PlatformHandler.ToPlatform(); 238 SetRenderer(measurementCell.PlatformHandler); 318 if (PlatformHandler?.VirtualView is VisualElement element) 328 if (PlatformHandler?.VirtualView is not View view)
Handlers\Items\iOS\VerticalCell.cs (1)
21 var measure = PlatformHandler.VirtualView.Measure(ConstrainedDimension, double.PositiveInfinity);
Handlers\Items\iOS\VerticalSupplementaryView.cs (4)
21 if (PlatformHandler?.VirtualView == null) 26 var measure = PlatformHandler.VirtualView.Measure(ConstrainedDimension, double.PositiveInfinity); 28 var height = PlatformHandler.VirtualView.Height > 0 29 ? PlatformHandler.VirtualView.Height : measure.Height;
Handlers\Items\iOS\WidthConstrainedTemplatedCell.cs (3)
24 if (PlatformHandler?.VirtualView == null) 29 var bounds = PlatformHandler.VirtualView.Frame; 36 var desiredBounds = PlatformHandler.VirtualView.Measure(bounds.Width, double.PositiveInfinity);