1 write to hasFocus
System.Windows.Forms (1)
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
580this.hasFocus = value;
8 references to hasFocus
System.Windows.Forms (8)
winforms\Managed\System\WinForms\PropertyGridInternal\CategoryGridEntry.cs (1)
210if (selected && hasFocus) {
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (7)
565return this.hasFocus; 579if (this.hasFocus != value) { 1871if (selected && !hasFocus) { 1914if (selected && hasFocus) { 1927var shouldInvertForHC = colorInversionNeededInHC && (fBold || (selected && !hasFocus)); 1931Color textColor = selected && hasFocus ? gridHost.GetSelectedItemWithFocusForeColor() : shouldInvertForHC ? InvertColor(ownerGrid.LineColor) : g.GetNearestColor(this.LabelTextColor); 2874return owner.hasFocus;