2 writes to _cell
Microsoft.Maui.Controls.Compatibility (2)
iOS\ContextActionCell.cs (2)
173
_cell
= cell;
299
_cell
= null;
29 references to _cell
Microsoft.Maui.Controls.Compatibility (29)
iOS\ContextActionCell.cs (29)
100
Update(_tableView,
_cell
, ContentCell);
137
if (
_cell
!= cell && recycling)
139
if (
_cell
!= null)
140
((INotifyCollectionChanged)
_cell
.ContextActions).CollectionChanged -= OnContextItemsChanged;
155
if (
_cell
!= null)
158
_cell
.PropertyChanged -= OnCellPropertyChanged;
162
((INotifyCollectionChanged)
_cell
.ContextActions).CollectionChanged -= OnContextItemsChanged;
177
((INotifyCollectionChanged)
_cell
.ContextActions).CollectionChanged += OnContextItemsChanged;
295
if (
_cell
!= null)
297
if (
_cell
.HasContextActions)
298
((INotifyCollectionChanged)
_cell
.ContextActions).CollectionChanged -= OnContextItemsChanged;
325
for (var i = 0; i <
_cell
.ContextActions.Count; i++)
330
var item =
_cell
.ContextActions[i];
378
if (needMoreButton &&
_cell
.ContextActions.Count - _buttons.Count == 1)
403
Element e =
_cell
;
437
((IMenuItemController)
_cell
.ContextActions[(int)button.Tag]).Activate();
445
if (
_cell
== null)
448
var recycling =
_cell
.RealParent is ListView parentListView &&
458
var parentListView =
_cell
?.RealParent as ListView;
462
Update(_tableView,
_cell
, ContentCell);
470
var parentListView =
_cell
.RealParent as ListView;
474
Update(_tableView,
_cell
, ContentCell);
497
if (
_cell
.RealParent == null)
500
var path =
_cell
.GetIndexPath();
518
for (var i = 0; i <
_cell
.ContextActions.Count; i++)
520
var item =
_cell
.ContextActions[i];
547
var needMore =
_cell
.ContextActions.Count > _buttons.Count;
549
if (
_cell
.ContextActions.Count > 2)
598
var item =
_cell
.ContextActions[(int)b.Tag];