1 instantiation of PropertyGridView
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
1603
return new
PropertyGridView
(serviceProvider, this);
86 references to PropertyGridView
System.Windows.Forms (86)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (3)
60
private readonly
PropertyGridView
_gridView;
1596
private
PropertyGridView
CreateGridView(IServiceProvider? serviceProvider)
2142
=> _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)
39
if (!parent.TryGetOwnerAs(out
PropertyGridView
? gridView)
72
if (Parent is not
PropertyGridView
.PropertyGridViewAccessibleObject parent
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CategoryGridEntry.cs (2)
85
PropertyGridView
? gridHost = OwnerGridView;
90
+ (base.PropertyDepth *
PropertyGridView
.DefaultOutlineIndent);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAccessibleObject.cs (2)
19
private 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
"/>.
339
var accessibleObject = (
PropertyGridView
.PropertyGridViewAccessibleObject)OwnerGridView.AccessibilityObject;
476
var gridAccObj = (
PropertyGridView
.PropertyGridViewAccessibleObject)OwnerGridView.AccessibilityObject;
525
/// The <see cref="
PropertyGridView
"/> that this <see cref="GridEntry"/> belongs to.
528
internal virtual
PropertyGridView
? OwnerGridView
881
PropertyGridView
view,
1053
internal virtual void EditPropertyValue(
PropertyGridView
gridView)
1083
PropertyGridView
.GridPositionData positionData = OwnerGridView.CaptureGridPositionData();
1500
/// This is called by the <see cref="GridEntry"/> host (the <see cref="
PropertyGridView
"/>) when this
1511
if (OwnerGridView is not
PropertyGridView
ownerGrid)
1540
int totalWidth = stringX + neededWidth +
PropertyGridView
.GdiPlusSpace;
1570
int maxSpace = Math.Min(rect.Width - stringX - 1, labelWidth +
PropertyGridView
.GdiPlusSpace);
1776
/// This is called by the <see cref="GridEntry"/> host (the <see cref="
PropertyGridView
"/>) when this
1789
if (OwnerGridView is not
PropertyGridView
ownerGrid)
1856
rect.X += paintIndent +
PropertyGridView
.ValueStringIndent;
1857
rect.Width -= paintIndent + 2 *
PropertyGridView
.ValueStringIndent;
1979
PropertyGridView
gridHost = OwnerGridView!;
2017
labelWidth +=
PropertyGridView
.SplitterWidth;
2049
if (OwnerGridView is not
PropertyGridView
propertyGridView)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (8)
98
var parent = (
PropertyGridView
.PropertyGridViewAccessibleObject)Parent;
162
=> Parent as
PropertyGridView
.PropertyGridViewAccessibleObject;
168
if (Parent is not
PropertyGridView
.PropertyGridViewAccessibleObject parent
174
if (!parent.TryGetOwnerAs(out
PropertyGridView
? gridView))
215
private
PropertyGridView
? PropertyGridView
219
var propertyGridViewAccessibleObject = Parent as
PropertyGridView
.PropertyGridViewAccessibleObject;
222
propertyGridViewAccessibleObject.TryGetOwnerAs(out
PropertyGridView
? owner);
253
if (Parent is not
PropertyGridView
.PropertyGridViewAccessibleObject parent
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiSelectRootGridEntry.cs (1)
19
PropertyGridView
view,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
298
internal override void EditPropertyValue(
PropertyGridView
gridView)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObject.cs (9)
318
return Parent is
PropertyGridView
.PropertyGridViewAccessibleObject propertyGridViewAccessibleObject
319
&& propertyGridViewAccessibleObject.TryGetOwnerAs(out
PropertyGridView
? gridViewOwner)
320
?
PropertyGridView
.PropertyGridViewAccessibleObject.GetNextGridEntry(
339
return Parent is
PropertyGridView
.PropertyGridViewAccessibleObject propertyGridViewAccessibleObject
340
&& propertyGridViewAccessibleObject.TryGetOwnerAs(out
PropertyGridView
? gridViewOwner)
341
?
PropertyGridView
.PropertyGridViewAccessibleObject.GetPreviousGridEntry(owner, gridViewOwner.TopLevelGridEntries, out _)
345
private
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)
16
private readonly
PropertyGridView
_gridView; // the owner gridview
52
internal DropDownHolder(
PropertyGridView
gridView) : base()
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.DropDownHolderAccessibleObject.cs (1)
29
PropertyGridView
? gridView = _owningDropDownHolder._gridView;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridPositionData.cs (2)
14
public GridPositionData(
PropertyGridView
gridView)
21
public GridEntry? Restore(
PropertyGridView
gridView)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewListBox.cs (3)
11
private readonly
PropertyGridView
_owningPropertyGridView;
13
public GridViewListBox(
PropertyGridView
gridView)
36
internal
PropertyGridView
OwningPropertyGridView
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (2)
18
public GridViewTextBox(
PropertyGridView
gridView)
24
internal
PropertyGridView
PropertyGridView { get; }
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.MouseHook.cs (2)
12
private readonly
PropertyGridView
_gridView;
25
public MouseHook(Control control, IMouseHookClient client,
PropertyGridView
gridView)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (18)
19
public PropertyGridViewAccessibleObject(
PropertyGridView
owner, PropertyGrid parentPropertyGrid) : base(owner)
56
this.TryGetOwnerAs(out
PropertyGridView
? owner)
78
=> this.TryGetOwnerAs(out
PropertyGridView
? owner) && owner.OwnerGrid is { } ownerGrid && ownerGrid.SortedByCategories;
84
if (!this.TryGetOwnerAs(out
PropertyGridView
? owner))
103
if (!this.TryGetOwnerAs(out
PropertyGridView
? owner))
115
if (!this.TryGetOwnerAs(out
PropertyGridView
? owner))
134
=> !this.TryGetOwnerAs(out
PropertyGridView
? owner) ? null : GetCategory(owner.TopLevelGridEntries!.Count - 1);
254
if (current.ChildCount <= 0 || !this.TryGetOwnerAs(out
PropertyGridView
? _))
285
if (current.ChildCount <= 0 || !this.TryGetOwnerAs(out
PropertyGridView
? _))
316
if (!this.TryGetOwnerAs(out
PropertyGridView
? owner))
340
if (!this.TryGetOwnerAs(out
PropertyGridView
? owner))
357
if (!this.TryGetOwnerAs(out
PropertyGridView
? owner))
381
if (!this.TryGetOwnerAs(out
PropertyGridView
? owner))
400
this.TryGetOwnerAs(out
PropertyGridView
? owner) && owner.AccessibilityGetGridEntries() is { } entries
406
if (!this.TryGetOwnerAs(out
PropertyGridView
? owner))
421
=> !this.TryGetOwnerAs(out
PropertyGridView
? owner) ? null : owner.SelectedGridEntry?.AccessibilityObject;
425
if (!this.IsOwnerHandleCreated(out
PropertyGridView
? owner))
474
if (!this.TryGetOwnerAs(out
PropertyGridView
? owner)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\SingleSelectRootGridEntry.cs (3)
21
private
PropertyGridView
_ownerGridView;
27
PropertyGridView
ownerGridView,
140
internal 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
)"/>