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; 364 while (largestButtonWidth * (_buttons.Count + (needMoreButton ? 1 : 0)) > acceptableTotalWidth && _buttons.Count > 1) 368 var button = _buttons[_buttons.Count - 1]; 369 _buttons.RemoveAt(_buttons.Count - 1); 375 if (needMoreButton && _cell.ContextActions.Count - _buttons.Count == 1) 376 _buttons.RemoveAt(_buttons.Count - 1); 416 for (var i = 0; i < _buttons.Count; i++) 418 var frame = _buttons[i].Frame; 519 if (_buttons.Count == 3) 526 _buttons.RemoveAt(_buttons.Count - 1); 539 _buttons.Insert(0, button); 541 _buttons.Add(button); 544 var needMore = _cell.ContextActions.Count > _buttons.Count; 584 _buttons.Add(button); 588 var totalWidth = _buttons.Count * largestWidth; 589 for (var n = 0; n < _buttons.Count; n++) 591 var b = _buttons[n];