32 references to _buttons
Microsoft.Maui.Controls.Compatibility (32)
iOS\ContextActionCell.cs (32)
197 for (var i = 0; i < _buttons.Count; i++) 199 var b = _buttons[i]; 204 _buttons.Clear(); 242 for (var i = _buttons.Count - 1; i >= 0; i--) 244 var b = _buttons[i]; 249 _scroller.Delegate = new ContextScrollViewDelegate(container, _buttons, isOpen); 284 for (var i = 0; i < _buttons.Count; i++) 285 _buttons[i].Dispose(); 292 _buttons.Clear(); 309 for (var i = 0; i < _buttons.Count; i++) 311 var tag = _buttons[i].Tag; 367 while (largestButtonWidth * (_buttons.Count + (needMoreButton ? 1 : 0)) > acceptableTotalWidth && _buttons.Count > 1) 371 var button = _buttons[_buttons.Count - 1]; 372 _buttons.RemoveAt(_buttons.Count - 1); 378 if (needMoreButton && _cell.ContextActions.Count - _buttons.Count == 1) 379 _buttons.RemoveAt(_buttons.Count - 1); 419 for (var i = 0; i < _buttons.Count; i++) 421 var frame = _buttons[i].Frame; 522 if (_buttons.Count == 3) 529 _buttons.RemoveAt(_buttons.Count - 1); 542 _buttons.Insert(0, button); 544 _buttons.Add(button); 547 var needMore = _cell.ContextActions.Count > _buttons.Count; 587 _buttons.Add(button); 591 var totalWidth = _buttons.Count * largestWidth; 592 for (var n = 0; n < _buttons.Count; n++) 594 var b = _buttons[n];