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