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)
88internal int FocusedCell => Get1DFrom2D(_focus); 219FillRectWithCellBounds(_focus.X, _focus.Y, ref r); 2251 + Get1DFrom2D(_focus.X, _focus.Y)); 276SelectedColor = GetColorFromCell(_focus.X, _focus.Y); 281SelectedColor = GetColorFromCell(_focus.X, _focus.Y); 285SetFocus(_focus with { X = _focus.X - 1 }); 288SetFocus(_focus with { X = _focus.X + 1 }); 291SetFocus(_focus with { Y = _focus.Y - 1 }); 294SetFocus(_focus with { Y = _focus.Y + 1 }); 312if (cell2D.X != -1 && cell2D.Y != -1 && cell2D != _focus) 326if (cell2D.X != -1 && cell2D.Y != -1 && cell2D != _focus) 343SelectedColor = GetColorFromCell(_focus.X, _focus.Y); 392if (_focus.X == x && _focus.Y == y && Focused) 425int cell = Get1DFrom2D(_focus.X, _focus.Y); 459if (_focus != newFocus)