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