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