1 write to VisualElementRenderer
Microsoft.Maui.Controls.Compatibility (1)
iOS\CollectionView\TemplatedCell.cs (1)
167 VisualElementRenderer = renderer;
27 references to VisualElementRenderer
Microsoft.Maui.Controls.Compatibility (27)
iOS\CollectionView\CarouselViewController.cs (2)
56 var element = (cell as TemplatedCell)?.VisualElementRenderer?.Element; 429 if (!((cell as CarouselTemplatedCell)?.VisualElementRenderer?.Element is View itemView))
iOS\CollectionView\HeightConstrainedTemplatedCell.cs (3)
26 if (VisualElementRenderer?.Element == null) 31 var bounds = VisualElementRenderer.Element.Bounds; 38 var desiredBounds = VisualElementRenderer.Element.Measure(double.PositiveInfinity, bounds.Height,
iOS\CollectionView\HorizontalCell.cs (1)
21 var measure = VisualElementRenderer.Element.Measure(double.PositiveInfinity,
iOS\CollectionView\HorizontalTemplatedHeaderView.cs (4)
21 if (VisualElementRenderer?.Element == null) 26 var measure = VisualElementRenderer.Element.Measure(double.PositiveInfinity, 29 var width = VisualElementRenderer.Element.Width > 0 30 ? VisualElementRenderer.Element.Width : measure.Request.Width;
iOS\CollectionView\TemplatedCell.cs (9)
86 var nativeView = VisualElementRenderer.NativeView; 91 VisualElementRenderer.Element.Layout(nativeBounds); 99 var oldElement = VisualElementRenderer?.Element; 168 var nativeView = VisualElementRenderer.NativeView; 182 var nativeView = VisualElementRenderer.NativeView; 187 VisualElementRenderer.Element.Measure(width, height, MeasureFlags.IncludeMargins); 192 VisualElementRenderer.Element.Layout(rectangle); 203 SetRenderer(measurementCell.VisualElementRenderer); 294 var element = VisualElementRenderer?.Element;
iOS\CollectionView\VerticalCell.cs (1)
21 var measure = VisualElementRenderer.Element.Measure(ConstrainedDimension,
iOS\CollectionView\VerticalSupplementaryView.cs (4)
21 if (VisualElementRenderer?.Element == null) 26 var measure = VisualElementRenderer.Element.Measure(ConstrainedDimension, 29 var height = VisualElementRenderer.Element.Height > 0 30 ? VisualElementRenderer.Element.Height : measure.Request.Height;
iOS\CollectionView\WidthConstrainedTemplatedCell.cs (3)
26 if (VisualElementRenderer?.Element == null) 31 var bounds = VisualElementRenderer.Element.Bounds; 38 var desiredBounds = VisualElementRenderer.Element.Measure(bounds.Width, double.PositiveInfinity,