1 override of OwnerGridView
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\SingleSelectRootGridEntry.cs (1)
140internal override PropertyGridView OwnerGridView
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; 288set => OwnerGridView?.SetExpand(this, value); 332if (OwnerGridView is { } ownerGridView 336int id = OwnerGridView.AccessibilityGetGridEntryChildID(this); 339var accessibleObject = (PropertyGridView.PropertyGridViewAccessibleObject)OwnerGridView.AccessibilityObject; 469if (OwnerGridView is { } ownerGridView 473int id = OwnerGridView.AccessibilityGetGridEntryChildID(this); 476var gridAccObj = (PropertyGridView.PropertyGridViewAccessibleObject)OwnerGridView.AccessibilityObject; 530get => _parent?.OwnerGridView; 617int borderWidth = (OwnerGridView?.OutlineIconSize ?? 0) + OutlineIconPadding; 647if (!_outlineRect.IsEmpty || OwnerGridView is null) 652int outlineSize = OwnerGridView.OutlineIconSize; 656(OwnerGridView.GridEntryHeight - outlineSize) / 2, 1078if (InternalExpanded && OwnerGridView is not null) 1083PropertyGridView.GridPositionData positionData = OwnerGridView.CaptureGridPositionData(); 1086positionData.Restore(OwnerGridView); 1103OwnerGridView, 1479if (OwnerGridView is null) 1485? OwnerGridView.GetBoldFont() 1486: OwnerGridView.GetBaseFont(); 1511if (OwnerGridView is not PropertyGridView ownerGrid) 1626if (OwnerGridView is { } owner && owner.IsExplorerTreeSupported) 1639PaintOutlineWithExplorerTreeStyle(g, r, OwnerGridView.HWNDInternal); 1734Color penColor = OwnerGridView?.TextColor ?? default; 1789if (OwnerGridView is not PropertyGridView ownerGrid) 1905backColor = OwnerGridView is not { } owner 1979PropertyGridView gridHost = OwnerGridView!; 2049if (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);