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