1 write to _focus
System.Windows.Forms.Design (1)
System\Drawing\Design\ColorEditor.ColorPalette.cs (1)
462
_focus
= newFocus;
26 references to _focus
System.Windows.Forms.Design (26)
System\Drawing\Design\ColorEditor.ColorPalette.cs (26)
88
internal int FocusedCell => Get1DFrom2D(
_focus
);
219
FillRectWithCellBounds(
_focus
.X,
_focus
.Y, ref r);
225
1 + Get1DFrom2D(
_focus
.X,
_focus
.Y));
276
SelectedColor = GetColorFromCell(
_focus
.X,
_focus
.Y);
281
SelectedColor = GetColorFromCell(
_focus
.X,
_focus
.Y);
285
SetFocus(
_focus
with { X =
_focus
.X - 1 });
288
SetFocus(
_focus
with { X =
_focus
.X + 1 });
291
SetFocus(
_focus
with { Y =
_focus
.Y - 1 });
294
SetFocus(
_focus
with { Y =
_focus
.Y + 1 });
312
if (cell2D.X != -1 && cell2D.Y != -1 && cell2D !=
_focus
)
326
if (cell2D.X != -1 && cell2D.Y != -1 && cell2D !=
_focus
)
343
SelectedColor = GetColorFromCell(
_focus
.X,
_focus
.Y);
392
if (
_focus
.X == x &&
_focus
.Y == y && Focused)
425
int cell = Get1DFrom2D(
_focus
.X,
_focus
.Y);
459
if (
_focus
!= newFocus)