13 references to View
Microsoft.Maui.Controls (13)
Compatibility\Handlers\ListView\iOS\ListViewRenderer.cs (2)
925
if (viewCell != null && viewCell.
View
!= null)
927
var target = viewCell.
View
;
Compatibility\Handlers\ListView\iOS\ViewCellRenderer.cs (9)
155
viewCell.
View
.MeasureInvalidated -= OnMeasureInvalidated;
168
if (ViewCell is not ViewCell viewCell || viewCell.
View
== null)
169
throw new InvalidOperationException($"ViewCell must have a {nameof(viewCell.
View
)}");
171
var newRenderer = viewCell.
View
.ToHandler(viewCell.
View
.FindMauiContext());
186
oldCell.
View
.MeasureInvalidated -= OnMeasureInvalidated;
207
var viewHandlerType = MauiContext.Handlers.GetHandlerType(cell.
View
.GetType());
212
renderer.SetVirtualView(cell.
View
);
223
cell.
View
.MeasureInvalidated += OnMeasureInvalidated;
ListView\ListView.cs (2)
448
if (content is ViewCell viewCell && viewCell.
View
!= null && HasUnevenRows)
449
viewCell.
View
.ComputedConstraint = LayoutConstraint.None;