1 write to _contextActions
Microsoft.Maui.Controls (1)
Cells\Cell.cs (1)
93
_contextActions
= new ObservableCollection<MenuItem>();
14 references to _contextActions
Microsoft.Maui.Controls (14)
Cells\Cell.cs (14)
91
if (
_contextActions
== null)
94
_contextActions
.CollectionChanged += OnContextActionsChanged;
97
return
_contextActions
;
104
get { return
_contextActions
!= null &&
_contextActions
.Count > 0 && IsEnabled; }
187
for (var i = 0; i <
_contextActions
.Count; i++)
188
SetInheritedBindingContext(
_contextActions
[i], BindingContext);
251
for (var i = 0; i <
_contextActions
.Count; i++)
253
SetInheritedBindingContext(
_contextActions
[i], BindingContext);
254
_contextActions
[i].Parent = this;
255
_currentContextActions?.Remove(
_contextActions
[i]);
266
_currentContextActions = new List<MenuItem>(
_contextActions
);
325
if (
_contextActions
!= null)
326
children.AddRange(
_contextActions
);