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