1 type derived from GridItem
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
18internal abstract partial class GridEntry : GridItem, ITypeDescriptorContext
40 references to GridItem
System.Windows.Forms (40)
System\Windows\Forms\Controls\PropertyGrid\GridItem.cs (13)
22/// Gets or sets user-defined data about the <see cref="GridItem"/>. 33/// Retrieves the child <see cref="GridItem"/>s, if any, of this <see cref="GridItem"/>. 38/// Retrieves the type of this <see cref="GridItem"/>. 43/// Retrieves the text label of this <see cref="GridItem"/>. This may be different from the actual 44/// PropertyName. For <see cref="GridItemType.Property"/> <see cref="GridItem"/>s, retrieve the 50/// Retrieves parent <see cref="GridItem"/> of this <see cref="GridItem"/>, if any. 52public abstract GridItem? Parent { get; } 55/// If this item is a <see cref="GridItemType.Property"/> <see cref="GridItem"/>, this retrieves the 56/// <see cref="System.ComponentModel.PropertyDescriptor"/> that is associated with this <see cref="GridItem"/>. 75/// Retrieves or sets whether the <see cref="GridItem"/> is in an expanded state. 84/// Attempts to select this <see cref="GridItem"/> in the <see cref="PropertyGrid"/>.
System\Windows\Forms\Controls\PropertyGrid\GridItemCollection.cs (6)
15private protected IReadOnlyList<GridItem> _entries; 17internal GridItemCollection(IReadOnlyList<GridItem>? entries) 19_entries = entries ?? Array.Empty<GridItem>(); 34public GridItem this[int index] => _entries[index]; 36public GridItem? this[string label] 40foreach (GridItem item in _entries)
System\Windows\Forms\Controls\PropertyGrid\GridItemType.cs (4)
9/// The <see cref="GridItem"/> corresponds to a property. 14/// The <see cref="GridItem"/> is a category name. 24/// The <see cref="GridItem"/> is an element of an array. 29/// The <see cref="GridItem"/> is the root in the grid hierarchy.
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (4)
851GridItem? selectedGridItem = SelectedGridItem; 1140public GridItem? SelectedGridItem 1436/// Event that is fired when the selected <see cref="GridItem"/> is changed. 2934internal void OnPropertyValueSet(GridItem changedItem, object? oldValue)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (5)
511ObjectDisposedException.ThrowIf(Disposed, typeof(GridItem)); 698public override GridItem? Parent 702ObjectDisposedException.ThrowIf(Disposed, typeof(GridItem)); 1490=> serviceType == typeof(GridItem) ? this : (_parent?.GetService(serviceType)); 2128/// The owner of the <see cref="GridItem"/>.
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (1)
187GridItem? topLevelGridEntry = topLevelGridEntries[i];
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (1)
123GridItem targetEntry = topLevelGridEntries[categoryIndex];
System\Windows\Forms\Controls\PropertyGrid\SelectedGridItemChangedEventArgs.cs (4)
14public SelectedGridItemChangedEventArgs(GridItem? oldSel, GridItem? newSel) 23public GridItem? OldSelection { get; } 28public GridItem? NewSelection { get; }
System\Windows\Forms\PropertyValueChangedEventArgs.cs (2)
11public PropertyValueChangedEventArgs(GridItem? changedItem, object? oldValue) 17public GridItem? ChangedItem { get; }