14 references to View
Microsoft.Maui.Controls (2)
ListView\ListView.cs (2)
448 if (content is ViewCell viewCell && viewCell.View != null && HasUnevenRows) 449 viewCell.View.ComputedConstraint = LayoutConstraint.None;
Microsoft.Maui.Controls.Compatibility (12)
iOS\Cells\ViewCellRenderer.cs (10)
99 var view = ViewCell.View; 153 _viewCell.View.MeasureInvalidated -= OnMeasureInvalidated; 166 if (_viewCell.View == null) 167 throw new InvalidOperationException($"ViewCell must have a {nameof(_viewCell.View)}"); 169 var newRenderer = Platform.CreateRenderer(_viewCell.View); 184 oldCell.View.MeasureInvalidated -= OnMeasureInvalidated; 199 var type = Microsoft.Maui.Controls.Internals.Registrar.Registered.GetHandlerTypeForObject(this._viewCell.View); 203 renderer.SetElement(this._viewCell.View); 214 Platform.SetRenderer(_viewCell.View, renderer); 216 _viewCell.View.MeasureInvalidated += OnMeasureInvalidated;
iOS\Renderers\ListViewRenderer.cs (2)
944 if (viewCell != null && viewCell.View != null) 946 var target = viewCell.View;