15 references to ContextActions
Microsoft.Maui.Controls (15)
Compatibility\Handlers\ListView\iOS\ContextActionCell.cs (15)
135
((INotifyCollectionChanged)_cell.
ContextActions
).CollectionChanged -= OnContextItemsChanged;
137
((INotifyCollectionChanged)cell.
ContextActions
).CollectionChanged += OnContextItemsChanged;
157
((INotifyCollectionChanged)_cell.
ContextActions
).CollectionChanged -= OnContextItemsChanged;
166
_menuItems.AddRange(cell.
ContextActions
);
172
((INotifyCollectionChanged)_cell.
ContextActions
).CollectionChanged += OnContextItemsChanged;
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)
430
((IMenuItemController)_cell.
ContextActions
[(int)button.Tag]).Activate();
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];