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