1 write to idealCheckSize
System.Windows.Forms (1)
winforms\Managed\System\WinForms\CheckedListBox.cs (1)
682
idealCheckSize
= (int)(CheckBoxRenderer.GetGlyphSize(e.Graphics, cbState, HandleInternal)).Width;
12 references to idealCheckSize
System.Windows.Forms (12)
winforms\Managed\System\WinForms\CheckedListBox.cs (12)
287
return base.MaxItemWidth +
idealCheckSize
+ scaledListItemPaddingBuffer;
687
int centeringFactor = Math.Max((height -
idealCheckSize
) / 2, 0);
690
if (centeringFactor +
idealCheckSize
> bounds.Height) {
691
centeringFactor = bounds.Height -
idealCheckSize
;
696
idealCheckSize
,
697
idealCheckSize
);
703
box.X = bounds.X + bounds.Width -
idealCheckSize
- scaledListItemStartPosition;
721
bounds.X +
idealCheckSize
+ (scaledListItemStartPosition * 2),
723
bounds.Width - (
idealCheckSize
+ (scaledListItemStartPosition * 2)),
778
float tabOffset = -(
idealCheckSize
+ (scaledListItemStartPosition * 2));
941
if (e.ItemHeight <
idealCheckSize
+ 2) {
942
e.ItemHeight =
idealCheckSize
+ 2;