2 overrides of OwnerGridView
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\SingleSelectRootGridEntry.cs (1)
140
internal override PropertyGridView
OwnerGridView
System.Windows.Forms.Tests (1)
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObjectTests.cs (1)
136
internal override PropertyGridView
OwnerGridView
=> _propertyGridView;
47 references to OwnerGridView
System.Windows.Forms (47)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CategoryGridEntry.cs (2)
60
protected override Color BackgroundColor =>
OwnerGridView
?.LineColor ?? default;
85
PropertyGridView? gridHost =
OwnerGridView
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (32)
102
return
OwnerGridView
?.LogicalToDeviceUnits(LogicalOutlineIconPadding) ?? LogicalOutlineIconPadding;
130
protected virtual Color BackgroundColor =>
OwnerGridView
?.BackColor ?? default;
136
if (
OwnerGridView
is null)
142
?
OwnerGridView
.GrayTextColor
143
:
OwnerGridView
.TextColor;
285
set =>
OwnerGridView
?.SetExpand(this, value);
329
if (
OwnerGridView
is { } ownerGridView
333
int id =
OwnerGridView
.AccessibilityGetGridEntryChildID(this);
336
var accessibleObject = (PropertyGridView.PropertyGridViewAccessibleObject)
OwnerGridView
.AccessibilityObject;
466
if (
OwnerGridView
is { } ownerGridView
470
int id =
OwnerGridView
.AccessibilityGetGridEntryChildID(this);
473
var gridAccObj = (PropertyGridView.PropertyGridViewAccessibleObject)
OwnerGridView
.AccessibilityObject;
527
get => _parent?.
OwnerGridView
;
614
int borderWidth = (
OwnerGridView
?.OutlineIconSize ?? 0) + OutlineIconPadding;
644
if (!_outlineRect.IsEmpty ||
OwnerGridView
is null)
649
int outlineSize =
OwnerGridView
.OutlineIconSize;
653
(
OwnerGridView
.GridEntryHeight - outlineSize) / 2,
1075
if (InternalExpanded &&
OwnerGridView
is not null)
1080
PropertyGridView.GridPositionData positionData =
OwnerGridView
.CaptureGridPositionData();
1083
positionData.Restore(
OwnerGridView
);
1100
OwnerGridView
,
1476
if (
OwnerGridView
is null)
1482
?
OwnerGridView
.GetBoldFont()
1483
:
OwnerGridView
.GetBaseFont();
1508
if (
OwnerGridView
is not PropertyGridView ownerGrid)
1623
if (
OwnerGridView
is { } owner && owner.IsExplorerTreeSupported)
1636
PaintOutlineWithExplorerTreeStyle(g, r,
OwnerGridView
.HWNDInternal);
1731
Color penColor =
OwnerGridView
?.TextColor ?? default;
1786
if (
OwnerGridView
is not PropertyGridView ownerGrid)
1902
backColor =
OwnerGridView
is not { } owner
1976
PropertyGridView gridHost =
OwnerGridView
!;
2046
if (
OwnerGridView
is not PropertyGridView propertyGridView)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (2)
73
this.TryGetOwnerAs(out GridEntry? owner) ? owner.
OwnerGridView
?.AccessibilityObject : null;
210
? (int)(owner?.
OwnerGridView
?.InternalHandle ?? HWND.Null)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (1)
110
OwnerGridView
?.Refresh(fullRefresh: false);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (10)
307
OwnerGridView
?.Refresh(fullRefresh: refreshAttribute.Equals(RefreshPropertiesAttribute.All));
316
&&
OwnerGridView
is not null)
320
if (_uiItemRects[i].Contains(mouseX,
OwnerGridView
.GridEntryHeight / 2))
393
OwnerGridView
?.InvalidateGridEntryValue(entry);
485
&&
OwnerGridView
is not null)
489
if (_uiItemRects[i].Contains(x,
OwnerGridView
.GridEntryHeight / 2))
544
if (
OwnerGridView
is { } ownerGridView)
681
if (needsRefresh &&
OwnerGridView
is not null)
686
OwnerGridView
.Refresh(refresh is not null && refresh.Equals(RefreshPropertiesAttribute.All));
887
OwnerGridView
?.ShowInvalidMessage(ex);