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];
375
if (needMoreButton &&
_cell
.ContextActions.Count - _buttons.Count == 1)
400
Element e =
_cell
;
434
((IMenuItemController)
_cell
.ContextActions[(int)button.Tag]).Activate();
442
if (
_cell
== null)
445
var recycling =
_cell
.RealParent is ListView parentListView &&
455
var parentListView =
_cell
?.RealParent as ListView;
459
Update(_tableView,
_cell
, ContentCell);
467
var parentListView =
_cell
.RealParent as ListView;
471
Update(_tableView,
_cell
, ContentCell);
494
if (
_cell
.RealParent == null)
497
var path =
_cell
.GetIndexPath();
515
for (var i = 0; i <
_cell
.ContextActions.Count; i++)
517
var item =
_cell
.ContextActions[i];
544
var needMore =
_cell
.ContextActions.Count > _buttons.Count;
546
if (
_cell
.ContextActions.Count > 2)
595
var item =
_cell
.ContextActions[(int)b.Tag];