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];
373
if (needMoreButton &&
_cell
.ContextActions.Count - _buttons.Count == 1)
399
Element e =
_cell
;
433
((IMenuItemController)
_cell
.ContextActions[(int)button.Tag]).Activate();
441
if (
_cell
== null)
444
var recycling =
_cell
.RealParent is ListView parentListView &&
454
var parentListView =
_cell
?.RealParent as ListView;
458
Update(_tableView,
_cell
, ContentCell);
466
var parentListView =
_cell
.RealParent as ListView;
470
Update(_tableView,
_cell
, ContentCell);
493
if (
_cell
.RealParent == null)
496
var path = Microsoft.Maui.Controls.Compatibility.Platform.iOS.CellExtensions.GetIndexPath(
_cell
);
514
for (var i = 0; i <
_cell
.ContextActions.Count; i++)
516
var item =
_cell
.ContextActions[i];
543
var needMore =
_cell
.ContextActions.Count > _buttons.Count;
545
if (
_cell
.ContextActions.Count > 2)
594
var item =
_cell
.ContextActions[(int)b.Tag];