2 writes to sortGlyphWidth
System.Windows.Forms (2)
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (2)
50
sortGlyphWidth
= (byte)DpiHelper.LogicalToDeviceUnitsX(DATAGRIDVIEWCOLUMNHEADERCELL_sortGlyphWidth);
53
sortGlyphWidth
++;
51 references to sortGlyphWidth
System.Windows.Forms (51)
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (51)
52
if ((
sortGlyphWidth
% 2) == 0) {
576
preferredSize.Width +=
sortGlyphWidth
+
592
if (allowedWidth >=
sortGlyphWidth
+ 2 * sortGlyphHorizontalMargin &&
596
glyphSize = new Size(
sortGlyphWidth
+ 2 * sortGlyphHorizontalMargin,
672
preferredSize.Width +=
sortGlyphWidth
+
945
sortGlyphWidth
-
955
sortGlyphWidth
+
960
sortGlyphWidth
+
966
sortGlyphWidth
,
1007
valBounds.Width >=
sortGlyphWidth
+ 2 * sortGlyphHorizontalMargin &&
1011
sortGlyphLocation = new Point(valBounds.Left + (valBounds.Width-
sortGlyphWidth
)/2,
1032
sortGlyphLocation.X +
sortGlyphWidth
/2-1,
1037
sortGlyphLocation.X +
sortGlyphWidth
/2-1,
1040
sortGlyphLocation.X +
sortGlyphWidth
/2,
1042
sortGlyphLocation.X +
sortGlyphWidth
-2,
1045
sortGlyphLocation.X +
sortGlyphWidth
/2,
1047
sortGlyphLocation.X +
sortGlyphWidth
-3,
1052
sortGlyphLocation.X +
sortGlyphWidth
-2,
1061
sortGlyphLocation.X +
sortGlyphWidth
/ 2 - 1,
1066
sortGlyphLocation.X +
sortGlyphWidth
/ 2 - 1,
1069
sortGlyphLocation.X +
sortGlyphWidth
/ 2,
1071
sortGlyphLocation.X +
sortGlyphWidth
- 2,
1074
sortGlyphLocation.X +
sortGlyphWidth
/ 2,
1076
sortGlyphLocation.X +
sortGlyphWidth
- 3,
1081
sortGlyphLocation.X +
sortGlyphWidth
- 2,
1087
for (int line = 0; line <
sortGlyphWidth
/ 2; line++)
1092
sortGlyphLocation.X +
sortGlyphWidth
- line - 1,
1096
sortGlyphLocation.X +
sortGlyphWidth
/ 2,
1097
sortGlyphLocation.Y + sortGlyphHeight -
sortGlyphWidth
/ 2 - 1,
1098
sortGlyphLocation.X +
sortGlyphWidth
/ 2,
1099
sortGlyphLocation.Y + sortGlyphHeight -
sortGlyphWidth
/ 2);
1115
sortGlyphLocation.X+
sortGlyphWidth
/2-1,
1120
sortGlyphLocation.X+
sortGlyphWidth
/2-1,
1123
sortGlyphLocation.X+
sortGlyphWidth
/2,
1125
sortGlyphLocation.X+
sortGlyphWidth
-2,
1128
sortGlyphLocation.X+
sortGlyphWidth
/2,
1130
sortGlyphLocation.X+
sortGlyphWidth
-3,
1135
sortGlyphLocation.X+
sortGlyphWidth
-2,
1144
sortGlyphLocation.X+
sortGlyphWidth
/2-1,
1149
sortGlyphLocation.X+
sortGlyphWidth
/2-1,
1152
sortGlyphLocation.X+
sortGlyphWidth
/2,
1154
sortGlyphLocation.X+
sortGlyphWidth
-2,
1157
sortGlyphLocation.X+
sortGlyphWidth
/2,
1159
sortGlyphLocation.X+
sortGlyphWidth
-3,
1164
sortGlyphLocation.X+
sortGlyphWidth
-2,
1170
for (int line = 0; line <
sortGlyphWidth
/ 2; line++)
1175
sortGlyphLocation.X +
sortGlyphWidth
- line - 1,
1179
sortGlyphLocation.X +
sortGlyphWidth
/ 2,
1180
sortGlyphLocation.Y +
sortGlyphWidth
/ 2 + 1,
1181
sortGlyphLocation.X +
sortGlyphWidth
/ 2,
1182
sortGlyphLocation.Y +
sortGlyphWidth
/ 2 + 2);