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)
180
return base.MaxItemWidth +
_idealCheckSize
+ _listItemPaddingBuffer;
532
int centeringFactor = Math.Max((height -
_idealCheckSize
) / 2, 0);
535
if (centeringFactor +
_idealCheckSize
> bounds.Height)
537
centeringFactor = bounds.Height -
_idealCheckSize
;
543
_idealCheckSize
,
544
_idealCheckSize
);
549
box.X = bounds.X + bounds.Width -
_idealCheckSize
- _listItemStartPosition;
570
bounds.X +
_idealCheckSize
+ (_listItemStartPosition * 2),
572
bounds.Width - (
_idealCheckSize
+ (_listItemStartPosition * 2)),
640
float tabOffset = -(
_idealCheckSize
+ (_listItemStartPosition * 2));
811
if (e.ItemHeight <
_idealCheckSize
+ 2)
813
e.ItemHeight =
_idealCheckSize
+ 2;