1 write to _idealCheckSize
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
528_idealCheckSize = CheckBoxRenderer.GetGlyphSize(e, cbState, HWNDInternal).Width;
12 references to _idealCheckSize
System.Windows.Forms (12)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (12)
180return base.MaxItemWidth + _idealCheckSize + _listItemPaddingBuffer; 532int centeringFactor = Math.Max((height - _idealCheckSize) / 2, 0); 535if (centeringFactor + _idealCheckSize > bounds.Height) 537centeringFactor = bounds.Height - _idealCheckSize; 543_idealCheckSize, 544_idealCheckSize); 549box.X = bounds.X + bounds.Width - _idealCheckSize - _listItemStartPosition; 570bounds.X + _idealCheckSize + (_listItemStartPosition * 2), 572bounds.Width - (_idealCheckSize + (_listItemStartPosition * 2)), 640float tabOffset = -(_idealCheckSize + (_listItemStartPosition * 2)); 811if (e.ItemHeight < _idealCheckSize + 2) 813e.ItemHeight = _idealCheckSize + 2;