1 write to ownerGrid
System.Windows.Forms (1)
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
144
ownerGrid
= owner;
17 references to ownerGrid
System.Windows.Forms (17)
winforms\Managed\System\WinForms\PropertyGridInternal\CategoryGridEntry.cs (3)
128
return
ownerGrid
.CategoryForeColor;
228
using (Pen topLinePen = new System.Drawing.Pen(
ownerGrid
.CategorySplitterColor, 1)) {
239
using (Pen topLinePen = new System.Drawing.Pen(
ownerGrid
.CategorySplitterColor, 1)) {
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (12)
146
Debug.Assert( this.
ownerGrid
!= null, "GridEntry w/o PropertyGrid owner, text rendering will fail." );
815
return this.
ownerGrid
;
1402
else if (cacheItems.useCompatTextRendering ==
ownerGrid
.UseCompatibleTextRendering && cacheItems.lastLabel == labelText && f.Equals(cacheItems.lastLabelFont)) {
1406
SizeF textSize = PropertyGrid.MeasureTextHelper.MeasureText( this.
ownerGrid
, g, labelText, f);
1411
cacheItems.useCompatTextRendering =
ownerGrid
.UseCompatibleTextRendering;
1603
entries[i] = new ArrayElementGridEntry(this.
ownerGrid
, peParent, i);
1643
newEntry = new ImmutablePropertyDescriptorGridEntry(this.
ownerGrid
, peParent, pd, hide);
1647
newEntry = new PropertyDescriptorGridEntry(this.
ownerGrid
, peParent, pd, hide);
1931
Color textColor = selected && hasFocus ? gridHost.GetSelectedItemWithFocusForeColor() : shouldInvertForHC ? InvertColor(
ownerGrid
.LineColor) : g.GetNearestColor(this.LabelTextColor);
1933
if( this.
ownerGrid
.UseCompatibleTextRendering ) {
2018
Color textColor = InvertColor(
ownerGrid
.LineColor);
2048
penColor = InvertColor(
ownerGrid
.LineColor);
winforms\Managed\System\WinForms\PropertyGridInternal\SingleSelectRootGridEntry.cs (2)
231
ownerGrid
.ReplaceSelectedObject(old, value);
341
propList.Add(new CategoryGridEntry(this.
ownerGrid
, this, category, rgpes));