3 writes to TopLevelGridEntries
System.Windows.Forms (3)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (3)
731
TopLevelGridEntries
= null;
970
TopLevelGridEntries
= null;
4040
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)
396
private bool HasEntries =>
TopLevelGridEntries
is not null &&
TopLevelGridEntries
.Count > 0;
1683
GetGridEntriesFromOutline(
TopLevelGridEntries
, 0, 0, newEntries);
3582
TotalProperties = CountPropertiesFromOutline(
TopLevelGridEntries
);
3934
int propertyCount = CountPropertiesFromOutline(
TopLevelGridEntries
);
3975
if (
TopLevelGridEntries
is not null && ScaleHelper.IsScalingRequirementMet)
3978
foreach (GridEntry entry in
TopLevelGridEntries
)
4018
object? oldObject =
TopLevelGridEntries
is null ||
TopLevelGridEntries
.Count == 0
4020
:
TopLevelGridEntries
[0].GetValueOwner();
4062
object? newObject =
TopLevelGridEntries
is null ||
TopLevelGridEntries
.Count == 0
4064
:
TopLevelGridEntries
[0].GetValueOwner();
5399
if (
TopLevelGridEntries
is not null)
5401
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
;