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