2 writes to ownerGrid
System.Windows.Forms (2)
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
195ownerGrid = propertyGrid; 1141ownerGrid = null;
35 references to ownerGrid
System.Windows.Forms (35)
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (35)
481errorDlg = new GridErrorDlg(this.ownerGrid); 533return this.ownerGrid; 1096return new PropertyGridViewAccessibleObject(this, ownerGrid); 1255SizeF sizeF = PropertyGrid.MeasureTextHelper.MeasureText(this.ownerGrid, g, gridEntry.PropertyLabel, Font); 1512return ownerGrid.LineColor; 1516if (ownerGrid.lineBrush == null) { 1517Color clr = g.GetNearestColor(ownerGrid.LineColor); 1518ownerGrid.lineBrush = new SolidBrush(clr); 1520return ownerGrid.lineBrush; 1525return ownerGrid.SelectedItemWithFocusForeColor; 1530return ownerGrid.SelectedItemWithFocusBackColor; 1535if (ownerGrid.selectedItemWithFocusBackBrush == null) { 1536Color clr = g.GetNearestColor(ownerGrid.SelectedItemWithFocusBackColor); 1537ownerGrid.selectedItemWithFocusBackBrush = new SolidBrush(clr); 1539return ownerGrid.selectedItemWithFocusBackBrush; 1552if (ownerGrid.CanShowVisualStyleGlyphs && UnsafeNativeMethods.IsVista && VisualStyleRenderer.IsSupported) { 2830if (sender == this || sender == this.ownerGrid) 2943if (fBoth || sender == this || sender == this.ownerGrid) { 3307this.ownerGrid.OnGridViewMouseWheel(me); 3506Pen splitterPen = new Pen(ownerGrid.LineColor, GetSplitterWidth()); 3513Pen linePen = new Pen(g.GetNearestColor(ownerGrid.LineColor)); 3565using (Pen borderPen = new Pen(ownerGrid.ViewBorderColor, 1)) { 4118if (fullRefresh || this.ownerGrid.HavePropEntriesChanged()) { 4128this.ownerGrid.RefreshProperties(true); 4139topLevelGridEntries = this.ownerGrid.GetPropEntries(); 4166gridEntry = this.ownerGrid.GetDefaultGridEntry(); 4191this.ownerGrid.SetStatusBox(null, null); 4199ownerGrid.ClearValueCaches(); 4496this.ownerGrid.SetStatusBox(gridEntry.PropertyLabel,gridEntry.PropertyDescription); 4519this.ownerGrid.OnSelectedGridItemChanged(oldSelectedGridEntry, selectedGridEntry); 4817this.ownerGrid.OnPropertyValueSet(ipeCur, originalValue); 5256return ownerGrid.WantsTab(forward); 5262return ownerGrid.WantsTab(forward); 6014SizeF sizef = PropertyGrid.MeasureTextHelper.MeasureText(this.gridView.ownerGrid, g, editor.Text, gridView.GetBaseFont()); 6784psheet.ownerGrid.OnPropertyValueSet(psheet.SelectedGridEntry, oldValue);