1 write to OwnerGrid
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
74
OwnerGrid
= ownerGrid;
27 references to OwnerGrid
System.Windows.Forms (27)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CategoryGridEntry.cs (5)
62
protected override Color LabelTextColor =>
OwnerGrid
.CategoryForeColor;
122
if (SystemInformation.HighContrast && !
OwnerGrid
.HasCustomLineColor)
125
ControlPaint.DrawFocusRectangle(g, focusRect, SystemColors.ControlText,
OwnerGrid
.LineColor);
136
using var topLinePen =
OwnerGrid
.CategorySplitterColor.GetCachedPenScope();
153
using var topLinePen =
OwnerGrid
.CategorySplitterColor.GetCachedPenScope();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (14)
76
Debug.Assert(
OwnerGrid
is not null, "GridEntry w/o PropertyGrid owner, text rendering will fail.");
107
=> SystemInformation.HighContrast && !
OwnerGrid
.HasCustomLineColor;
1193
else if (_cacheItems.UseCompatTextRendering ==
OwnerGrid
.UseCompatibleTextRendering
1200
SizeF textSize = PropertyGrid.MeasureTextHelper.MeasureText(
OwnerGrid
, graphics, text, font);
1205
_cacheItems.UseCompatTextRendering =
OwnerGrid
.UseCompatibleTextRendering;
1346
entries[i] = new ArrayElementGridEntry(
OwnerGrid
, this, i);
1386
? new ImmutablePropertyDescriptorGridEntry(
OwnerGrid
, this, property, hide)
1387
: new PropertyDescriptorGridEntry(
OwnerGrid
, this, property, hide);
1594
? InvertColor(
OwnerGrid
.LineColor)
1597
if (
OwnerGrid
.UseCompatibleTextRendering)
1678
Color textColor = InvertColor(
OwnerGrid
.LineColor);
1710
Color backgroundColor = ColorInversionNeededInHighContrast ? InvertColor(
OwnerGrid
.LineColor) :
OwnerGrid
.LineColor;
1745
penColor = InvertColor(
OwnerGrid
.LineColor);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (3)
332
? owner.
OwnerGrid
.GridViewAccessibleObject
386
if (!this.TryGetOwnerAs(out GridEntry? owner) || owner.
OwnerGrid
is null || owner.
OwnerGrid
.SortedByCategories)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiSelectRootGridEntry.PropertyMerger.cs (2)
37
parentEntry.
OwnerGrid
,
69
parentEntry.
OwnerGrid
,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
605
Rectangle parent = gridEntry.
OwnerGrid
.GridViewAccessibleObject.Bounds;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\SingleSelectRootGridEntry.cs (2)
186
OwnerGrid
.ReplaceSelectedObject(old, value);
271
categoryGridEntries.Add(new CategoryGridEntry(
OwnerGrid
, this, entry.Key, entry.Value));