32 references to _buttons
Microsoft.Maui.Controls (32)
Compatibility\Handlers\ListView\iOS\ContextActionCell.cs (32)
192
for (var i = 0; i <
_buttons
.Count; i++)
194
var b =
_buttons
[i];
199
_buttons
.Clear();
237
for (var i =
_buttons
.Count - 1; i >= 0; i--)
239
var b =
_buttons
[i];
244
_scroller.Delegate = new ContextScrollViewDelegate(container,
_buttons
, isOpen);
279
for (var i = 0; i <
_buttons
.Count; i++)
280
_buttons
[i].Dispose();
287
_buttons
.Clear();
304
for (var i = 0; i <
_buttons
.Count; i++)
306
var tag =
_buttons
[i].Tag;
359
while (largestButtonWidth * (
_buttons
.Count + (needMoreButton ? 1 : 0)) > acceptableTotalWidth &&
_buttons
.Count > 1)
363
var button =
_buttons
[
_buttons
.Count - 1];
364
_buttons
.RemoveAt(
_buttons
.Count - 1);
370
if (needMoreButton && _cell.ContextActions.Count -
_buttons
.Count == 1)
371
_buttons
.RemoveAt(
_buttons
.Count - 1);
412
for (var i = 0; i <
_buttons
.Count; i++)
414
var frame =
_buttons
[i].Frame;
515
if (
_buttons
.Count == 3)
522
_buttons
.RemoveAt(
_buttons
.Count - 1);
535
_buttons
.Insert(0, button);
537
_buttons
.Add(button);
540
var needMore = _cell.ContextActions.Count >
_buttons
.Count;
580
_buttons
.Add(button);
584
var totalWidth =
_buttons
.Count * largestWidth;
585
for (var n = 0; n <
_buttons
.Count; n++)
587
var b =
_buttons
[n];