3 writes to TopLevelGridEntries
System.Windows.Forms (3)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (3)
755
TopLevelGridEntries
= null;
994
TopLevelGridEntries
= null;
4064
TopLevelGridEntries
= OwnerGrid.GetCurrentEntries();
33 references to TopLevelGridEntries
System.Windows.Forms (23)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CategoryGridEntry.CategoryGridEntryAccessibleObject.cs (1)
46
GridEntryCollection? topLevelGridEntries = gridView.
TopLevelGridEntries
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (1)
179
GridEntryCollection? topLevelGridEntries = gridView.
TopLevelGridEntries
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObject.cs (2)
322
gridViewOwner.
TopLevelGridEntries
,
341
? PropertyGridView.PropertyGridViewAccessibleObject.GetPreviousGridEntry(owner, gridViewOwner.
TopLevelGridEntries
, out _)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (15)
420
private bool HasEntries =>
TopLevelGridEntries
is not null &&
TopLevelGridEntries
.Count > 0;
1707
GetGridEntriesFromOutline(
TopLevelGridEntries
, 0, 0, newEntries);
3606
TotalProperties = CountPropertiesFromOutline(
TopLevelGridEntries
);
3958
int propertyCount = CountPropertiesFromOutline(
TopLevelGridEntries
);
3999
if (
TopLevelGridEntries
is not null && ScaleHelper.IsScalingRequirementMet)
4002
foreach (GridEntry entry in
TopLevelGridEntries
)
4042
object? oldObject =
TopLevelGridEntries
is null ||
TopLevelGridEntries
.Count == 0
4044
:
TopLevelGridEntries
[0].GetValueOwner();
4086
object? newObject =
TopLevelGridEntries
is null ||
TopLevelGridEntries
.Count == 0
4088
:
TopLevelGridEntries
[0].GetValueOwner();
5423
if (
TopLevelGridEntries
is not null)
5425
foreach (GridEntry entry in
TopLevelGridEntries
)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridPositionData.cs (1)
17
_expandedState = SaveHierarchyState(gridView.
TopLevelGridEntries
);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (3)
120
GridEntryCollection? topLevelGridEntries = owner.
TopLevelGridEntries
;
134
=> !this.TryGetOwnerAs(out PropertyGridView? owner) ? null : GetCategory(owner.
TopLevelGridEntries
!.Count - 1);
475
|| owner.
TopLevelGridEntries
is not { } topLevelGridEntries)
System.Windows.Forms.Tests (10)
System\Windows\Forms\AccessibleObjects\CategoryGridEntryAccessibleObjectTests.cs (9)
73
AccessibleObject accessibilityObject = gridView.
TopLevelGridEntries
[0].AccessibilityObject;
88
AccessibleObject accessibilityObjectCategory1 = gridView.
TopLevelGridEntries
[0].AccessibilityObject;
89
AccessibleObject accessibilityObjectCategory2 = gridView.
TopLevelGridEntries
[1].AccessibilityObject;
90
AccessibleObject accessibilityObjectLastCategory = gridView.
TopLevelGridEntries
[^1].AccessibilityObject;
106
AccessibleObject accessibilityObjectCategory1 = gridView.
TopLevelGridEntries
[0].AccessibilityObject;
107
AccessibleObject accessibilityObjectCategory2 = gridView.
TopLevelGridEntries
[1].AccessibilityObject;
122
var category = (CategoryGridEntry)gridView.
TopLevelGridEntries
[0];
140
var category = (CategoryGridEntry)gridView.
TopLevelGridEntries
[0];
182
var category = (CategoryGridEntry)gridView.
TopLevelGridEntries
[0];
System\Windows\Forms\PropertyGridTests.cs (1)
3990
var categories = propertyGridView.
TopLevelGridEntries
;