2 writes to _cell
Microsoft.Maui.Controls (2)
Compatibility\Handlers\ListView\iOS\ContextActionCell.cs (2)
168
_cell
= cell;
294
_cell
= null;
29 references to _cell
Microsoft.Maui.Controls (29)
Compatibility\Handlers\ListView\iOS\ContextActionCell.cs (29)
95
Update(_tableView,
_cell
, ContentCell);
132
if (
_cell
!= cell && recycling)
134
if (
_cell
!= null)
135
((INotifyCollectionChanged)
_cell
.ContextActions).CollectionChanged -= OnContextItemsChanged;
150
if (
_cell
!= null)
153
_cell
.PropertyChanged -= OnCellPropertyChanged;
157
((INotifyCollectionChanged)
_cell
.ContextActions).CollectionChanged -= OnContextItemsChanged;
172
((INotifyCollectionChanged)
_cell
.ContextActions).CollectionChanged += OnContextItemsChanged;
290
if (
_cell
!= null)
292
if (
_cell
.HasContextActions)
293
((INotifyCollectionChanged)
_cell
.ContextActions).CollectionChanged -= OnContextItemsChanged;
320
for (var i = 0; i <
_cell
.ContextActions.Count; i++)
325
var item =
_cell
.ContextActions[i];
370
if (needMoreButton &&
_cell
.ContextActions.Count - _buttons.Count == 1)
396
Element e =
_cell
;
430
((IMenuItemController)
_cell
.ContextActions[(int)button.Tag]).Activate();
438
if (
_cell
== null)
441
var recycling =
_cell
.RealParent is ListView parentListView &&
451
var parentListView =
_cell
?.RealParent as ListView;
455
Update(_tableView,
_cell
, ContentCell);
463
var parentListView =
_cell
.RealParent as ListView;
467
Update(_tableView,
_cell
, ContentCell);
490
if (
_cell
.RealParent == null)
493
var path = Microsoft.Maui.Controls.Compatibility.Platform.iOS.CellExtensions.GetIndexPath(
_cell
);
511
for (var i = 0; i <
_cell
.ContextActions.Count; i++)
513
var item =
_cell
.ContextActions[i];
540
var needMore =
_cell
.ContextActions.Count > _buttons.Count;
542
if (
_cell
.ContextActions.Count > 2)
591
var item =
_cell
.ContextActions[(int)b.Tag];