86 references to PropertyGridView
System.Windows.Forms (86)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (3)
60private readonly PropertyGridView _gridView; 1602private PropertyGridView CreateGridView(IServiceProvider? serviceProvider) 2148=> _gridView.RecursivelyExpand(_rootEntry, initialize: false, expand: true, PropertyGridView.MaxRecurseExpand);
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.PropertyGridServiceProvider.cs (1)
11/// Service provider that searches the <see cref="ActiveDesigner"/>, then the <see cref="PropertyGridView"/>,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CategoryGridEntry.CategoryGridEntryAccessibleObject.cs (3)
34|| Parent is not PropertyGridView.PropertyGridViewAccessibleObject parent) 39if (!parent.TryGetOwnerAs(out PropertyGridView? gridView) 72if (Parent is not PropertyGridView.PropertyGridViewAccessibleObject parent
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CategoryGridEntry.cs (2)
85PropertyGridView? gridHost = OwnerGridView; 90+ (base.PropertyDepth * PropertyGridView.DefaultOutlineIndent);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAccessibleObject.cs (2)
19private readonly PropertyGridView? _owningPropertyGrid; 28_owningPropertyGrid = owningDropDownButton.Parent as PropertyGridView;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (19)
16/// Base entry for properties to be displayed in the <see cref="PropertyGridView"/>. 345var accessibleObject = (PropertyGridView.PropertyGridViewAccessibleObject)OwnerGridView.AccessibilityObject; 482var gridAccObj = (PropertyGridView.PropertyGridViewAccessibleObject)OwnerGridView.AccessibilityObject; 531/// The <see cref="PropertyGridView"/> that this <see cref="GridEntry"/> belongs to. 534internal virtual PropertyGridView? OwnerGridView 887PropertyGridView view, 1059internal virtual void EditPropertyValue(PropertyGridView gridView) 1089PropertyGridView.GridPositionData positionData = OwnerGridView.CaptureGridPositionData(); 1506/// This is called by the <see cref="GridEntry"/> host (the <see cref="PropertyGridView"/>) when this 1517if (OwnerGridView is not PropertyGridView ownerGrid) 1546int totalWidth = stringX + neededWidth + PropertyGridView.GdiPlusSpace; 1576int maxSpace = Math.Min(rect.Width - stringX - 1, labelWidth + PropertyGridView.GdiPlusSpace); 1782/// This is called by the <see cref="GridEntry"/> host (the <see cref="PropertyGridView"/>) when this 1795if (OwnerGridView is not PropertyGridView ownerGrid) 1862rect.X += paintIndent + PropertyGridView.ValueStringIndent; 1863rect.Width -= paintIndent + 2 * PropertyGridView.ValueStringIndent; 1985PropertyGridView gridHost = OwnerGridView!; 2023labelWidth += PropertyGridView.SplitterWidth; 2055if (OwnerGridView is not PropertyGridView propertyGridView)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (8)
98var parent = (PropertyGridView.PropertyGridViewAccessibleObject)Parent; 162=> Parent as PropertyGridView.PropertyGridViewAccessibleObject; 168if (Parent is not PropertyGridView.PropertyGridViewAccessibleObject parent 174if (!parent.TryGetOwnerAs(out PropertyGridView? gridView)) 215private PropertyGridView? PropertyGridView 219var propertyGridViewAccessibleObject = Parent as PropertyGridView.PropertyGridViewAccessibleObject; 222propertyGridViewAccessibleObject.TryGetOwnerAs(out PropertyGridView? owner); 253if (Parent is not PropertyGridView.PropertyGridViewAccessibleObject parent
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiSelectRootGridEntry.cs (1)
19PropertyGridView view,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
298internal override void EditPropertyValue(PropertyGridView gridView)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObject.cs (9)
318return Parent is PropertyGridView.PropertyGridViewAccessibleObject propertyGridViewAccessibleObject 319&& propertyGridViewAccessibleObject.TryGetOwnerAs(out PropertyGridView? gridViewOwner) 320? PropertyGridView.PropertyGridViewAccessibleObject.GetNextGridEntry( 339return Parent is PropertyGridView.PropertyGridViewAccessibleObject propertyGridViewAccessibleObject 340&& propertyGridViewAccessibleObject.TryGetOwnerAs(out PropertyGridView? gridViewOwner) 341? PropertyGridView.PropertyGridViewAccessibleObject.GetPreviousGridEntry(owner, gridViewOwner.TopLevelGridEntries, out _) 345private PropertyGridView? GetPropertyGridView() 346=> Parent is PropertyGridView.PropertyGridViewAccessibleObject propertyGridViewAccessibleObject 347? propertyGridViewAccessibleObject.TryGetOwnerAs(out PropertyGridView? owner) ? owner : null
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
509/// Returns or sets the <see cref="IServiceProvider"/> the <see cref="PropertyGridView"/> will use to obtain
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (2)
16private readonly PropertyGridView _gridView; // the owner gridview 52internal DropDownHolder(PropertyGridView gridView) : base()
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.DropDownHolderAccessibleObject.cs (1)
29PropertyGridView? gridView = _owningDropDownHolder._gridView;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridPositionData.cs (2)
14public GridPositionData(PropertyGridView gridView) 21public GridEntry? Restore(PropertyGridView gridView)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewListBox.cs (3)
11private readonly PropertyGridView _owningPropertyGridView; 13public GridViewListBox(PropertyGridView gridView) 36internal PropertyGridView OwningPropertyGridView
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (2)
18public GridViewTextBox(PropertyGridView gridView) 24internal PropertyGridView PropertyGridView { get; }
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.MouseHook.cs (2)
12private readonly PropertyGridView _gridView; 25public MouseHook(Control control, IMouseHookClient client, PropertyGridView gridView)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (18)
19public PropertyGridViewAccessibleObject(PropertyGridView owner, PropertyGrid parentPropertyGrid) : base(owner) 56this.TryGetOwnerAs(out PropertyGridView? owner) 78=> this.TryGetOwnerAs(out PropertyGridView? owner) && owner.OwnerGrid is { } ownerGrid && ownerGrid.SortedByCategories; 84if (!this.TryGetOwnerAs(out PropertyGridView? owner)) 103if (!this.TryGetOwnerAs(out PropertyGridView? owner)) 115if (!this.TryGetOwnerAs(out PropertyGridView? owner)) 134=> !this.TryGetOwnerAs(out PropertyGridView? owner) ? null : GetCategory(owner.TopLevelGridEntries!.Count - 1); 254if (current.ChildCount <= 0 || !this.TryGetOwnerAs(out PropertyGridView? _)) 285if (current.ChildCount <= 0 || !this.TryGetOwnerAs(out PropertyGridView? _)) 316if (!this.TryGetOwnerAs(out PropertyGridView? owner)) 340if (!this.TryGetOwnerAs(out PropertyGridView? owner)) 357if (!this.TryGetOwnerAs(out PropertyGridView? owner)) 381if (!this.TryGetOwnerAs(out PropertyGridView? owner)) 400this.TryGetOwnerAs(out PropertyGridView? owner) && owner.AccessibilityGetGridEntries() is { } entries 406if (!this.TryGetOwnerAs(out PropertyGridView? owner)) 421=> !this.TryGetOwnerAs(out PropertyGridView? owner) ? null : owner.SelectedGridEntry?.AccessibilityObject; 425if (!this.IsOwnerHandleCreated(out PropertyGridView? owner)) 474if (!this.TryGetOwnerAs(out PropertyGridView? owner)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\SingleSelectRootGridEntry.cs (3)
21private PropertyGridView _ownerGridView; 27PropertyGridView ownerGridView, 140internal override PropertyGridView OwnerGridView
System\Windows\Forms\Design\IWindowsFormsEditorService.cs (3)
22/// <see cref="PropertyGridView"/> implements this interface and it provides it via the 26/// <see cref="PropertyGridView.PopupEditor(int)"/> calls <see cref="GridEntry.EditPropertyValue(PropertyGridView)"/>