1 type derived from PropertyGrid
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\VsPropertyGrid.cs (1)
8internal class VsPropertyGrid : PropertyGrid
2 instantiations of PropertyGrid
System.Windows.Forms.Design (2)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
426_propertyGrid = new PropertyGrid();
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (1)
116_cellStyleProperties = new PropertyGrid();
118 references to PropertyGrid
PresentationUI (2)
MS\Internal\Documents\DialogBaseForm.cs (2)
127else if (c is PropertyGrid) 136(control as PropertyGrid).UseCompatibleTextRendering = false;
System.Windows.Forms (105)
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (1)
17/// .NET uses this class for COM object type browsing. <see cref="PropertyGrid"/> is an indirect consumer of this
System\Windows\Forms\ComponentModel\COM2Interop\IComPropertyBrowser.cs (8)
15/// Closes andy open drop-down controls on the <see cref="PropertyGrid"/> control. 20/// Gets a value indicating whether the <see cref="PropertyGrid"/> control is currently setting one of the 26/// Occurs when the <see cref="PropertyGrid"/> control is browsing a COM object and the user renames the object. 31/// Commits all pending changes to the <see cref="PropertyGrid"/> control. 34/// <see langword="true"/> if the <see cref="PropertyGrid"/> successfully commits changes; otherwise, 40/// Activates the <see cref="PropertyGrid"/> control when the user chooses Properties for a control in Design view. 45/// Loads user states from the registry into the <see cref="PropertyGrid"/> control. 51/// Saves user states from the <see cref="PropertyGrid"/> control to the registry.
System\Windows\Forms\Controls\PropertyGrid\GridItem.cs (4)
9/// Representation of one row item in the <see cref="PropertyGrid"/>. These items represent the hierarchy of the 14/// These objects should not be cached because they represent a snapshot of the <see cref="PropertyGrid"/>'s 15/// state and may be disposed by grid activity. The <see cref="PropertyGrid"/> often recreates these objects 84/// Attempts to select this <see cref="GridItem"/> in the <see cref="PropertyGrid"/>.
System\Windows\Forms\Controls\PropertyGrid\GridItemType.cs (1)
33/// This item represents the selection in the <see cref="PropertyGrid"/>.
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (4)
553/// Gets or sets a value indicating whether the <see cref="PropertyGrid"/> control paints its toolbar 4006protected virtual Bitmap SortByPropertyImage => ScaleHelper.GetIconResourceAsDefaultSizeBitmap(typeof(PropertyGrid), "PBAlpha"); 4014protected virtual Bitmap SortByCategoryImage => ScaleHelper.GetIconResourceAsDefaultSizeBitmap(typeof(PropertyGrid), "PBCategory"); 4022protected virtual Bitmap ShowPropertyPageImage => ScaleHelper.GetIconResourceAsDefaultSizeBitmap(typeof(PropertyGrid), "PBPPage");
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.FreezePaintScope.cs (2)
10private readonly PropertyGrid _propertyGrid; 12public FreezePaintScope(PropertyGrid propertyGrid)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.MeasureTextHelper.cs (4)
15public static SizeF MeasureText(PropertyGrid owner, Graphics g, string? text, Font font) 18public static SizeF MeasureText(PropertyGrid owner, Graphics g, string? text, Font font, int width) 21public static SizeF MeasureTextSimple(PropertyGrid owner, Graphics g, string? text, Font font, SizeF size) 31public static SizeF MeasureText(PropertyGrid owner, Graphics g, string? text, Font font, SizeF size)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.PropertyGridAccessibleObject.cs (4)
20public PropertyGridAccessibleObject(PropertyGrid owningPropertyGrid) : base(owningPropertyGrid) { } 24if (!this.IsOwnerHandleCreated(out PropertyGrid? owningPropertyGrid)) 103if (!this.TryGetOwnerAs(out PropertyGrid? owningPropertyGrid) || index < 0) 157if (!this.TryGetOwnerAs(out PropertyGrid? owningPropertyGrid))
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.PropertyGridServiceProvider.cs (2)
16private readonly PropertyGrid _ownerPropertyGrid; 18public PropertyGridServiceProvider(PropertyGrid ownerPropertyGrid)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.PropertyTabCollection.cs (2)
14private readonly PropertyGrid _ownerPropertyGrid; 16internal PropertyTabCollection(PropertyGrid ownerPropertyGrid)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.SnappableControl.cs (2)
12protected PropertyGrid OwnerPropertyGrid { get; } 18public SnappableControl(PropertyGrid ownerPropertyGrid)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ArrayElementGridEntry.cs (1)
10public ArrayElementGridEntry(PropertyGrid ownerGrid, GridEntry parent, int index)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CategoryGridEntry.cs (1)
17public CategoryGridEntry(PropertyGrid ownerGrid, GridEntry parent, string name, IEnumerable<GridEntry> children)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CommandsPane.CommandsPaneAccessibleObject.cs (6)
16private readonly WeakReference<PropertyGrid> _parentPropertyGrid; 22/// <param name="parentPropertyGrid">The parent <see cref="PropertyGrid"/> control.</param> 23public CommandsPaneAccessibleObject(CommandsPane owningCommandsPane, PropertyGrid parentPropertyGrid) : base(owningCommandsPane) 30if (_parentPropertyGrid.TryGetTarget(out PropertyGrid? target) 31&& target.AccessibilityObject is PropertyGrid.PropertyGridAccessibleObject propertyGridAccessibleObject) 52? owner.AccessibleName ?? (_parentPropertyGrid.TryGetTarget(out PropertyGrid? target)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CommandsPane.cs (6)
12/// The commands pane optionally shown at the bottom of the <see cref="PropertyGrid"/>. This pane is used 13/// to host links to <see cref="DesignerVerb"/>s associated with the <see cref="PropertyGrid"/>'s selected 21/// <see cref="PropertyGrid"/> will not set commands when it is in design mode. 24/// <see cref="PropertyGrid.CommandsVisible"/> controls the visibility of this control. 27internal partial class CommandsPane : PropertyGrid.SnappableControl 35internal CommandsPane(PropertyGrid owner) : base(owner)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (7)
71protected GridEntry(PropertyGrid ownerGrid, GridEntry? parent) 237/// <see cref="PropertyGrid"/> will update this when <see cref="PropertyGrid.ActiveDesigner"/> is set. 634public PropertyGrid OwnerGrid { get; } 1191SizeF textSize = PropertyGrid.MeasureTextHelper.MeasureText(OwnerGrid, graphics, text, font); 1599TextRenderer.DrawText(g, label, font, textRect, textColor, PropertyGrid.MeasureTextHelper.GetTextRendererFlags()); 1935(TextFormatFlags)format | PropertyGrid.MeasureTextHelper.GetTextRendererFlags());
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (3)
27private readonly PropertyGrid _ownerGrid; 42public GridErrorDialog(PropertyGrid owner) 301SizeF sizef = PropertyGrid.MeasureTextHelper.MeasureText(_ownerGrid, g, _detailsButton.Text, _detailsButton.Font);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (5)
9/// The help (description) pane optionally shown at the bottom of the <see cref="PropertyGrid"/>. 13/// <see cref="PropertyGrid.HelpVisible"/> controls the visibility of this control. 16internal partial class HelpPane : PropertyGrid.SnappableControl 33internal HelpPane(PropertyGrid owner) : base(owner) 92SizeF sizef = PropertyGrid.MeasureTextHelper.MeasureText(OwnerPropertyGrid, g, _titleLabel.Text, Font, width);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.HelpPaneAccessibleObject.cs (6)
16private readonly WeakReference<PropertyGrid> _parentPropertyGrid; 22/// <param name="parentPropertyGrid">The parent <see cref="PropertyGrid"/> control.</param> 23public HelpPaneAccessibleObject(HelpPane owningHelpPane, PropertyGrid parentPropertyGrid) : base(owningHelpPane) 30if (_parentPropertyGrid.TryGetTarget(out PropertyGrid? target) 31&& target.AccessibilityObject is PropertyGrid.PropertyGridAccessibleObject propertyGridAccessibleObject) 62return _parentPropertyGrid.TryGetTarget(out PropertyGrid? target)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (1)
23PropertyGrid ownerGrid,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\IRootGridEntry.cs (1)
10/// <see cref="PropertyGrid"/>.
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (1)
15PropertyGrid ownerGrid,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiSelectRootGridEntry.cs (2)
11/// Root <see cref="GridEntry"/> for the <see cref="PropertyGrid"/> when there are multiple objects 12/// in <see cref="PropertyGrid.SelectedObjects"/>.
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
37PropertyGrid ownerGrid,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (4)
117public PropertyGridView(IServiceProvider? serviceProvider, PropertyGrid propertyGrid) 452public PropertyGrid OwnerGrid { get; private set; } 967typeof(PropertyGrid), 1094SizeF sizeF = PropertyGrid.MeasureTextHelper.MeasureText(OwnerGrid, g, gridEntry.PropertyLabel, Font);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
614SizeF sizef = PropertyGrid.MeasureTextHelper.MeasureText(
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (4)
17private readonly WeakReference<PropertyGrid> _parentPropertyGrid; 19public PropertyGridViewAccessibleObject(PropertyGridView owner, PropertyGrid parentPropertyGrid) : base(owner) 29if (!_parentPropertyGrid.TryGetTarget(out PropertyGrid? target)) 38&& target.AccessibilityObject is PropertyGrid.PropertyGridAccessibleObject propertyGridAccessibleObject)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\SingleSelectRootGridEntry.cs (3)
11/// Root <see cref="GridEntry"/> for the <see cref="PropertyGrid"/> when there is only one object 12/// in <see cref="PropertyGrid.SelectedObjects"/>. 52/// <see cref="PropertyGrid.SelectedObjects" />
System\Windows\Forms\Controls\PropertyGrid\PropertyGridToolStrip.cs (2)
12private readonly PropertyGrid _parentPropertyGrid; 18public PropertyGridToolStrip(PropertyGrid parentPropertyGrid)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridToolStrip.PropertyGridToolStripAccessibleObject.cs (7)
16private readonly WeakReference<PropertyGrid> _parentPropertyGrid; 23public PropertyGridToolStripAccessibleObject(PropertyGridToolStrip owningPropertyGridToolStrip, PropertyGrid parentPropertyGrid) : base(owningPropertyGridToolStrip) 30if (_parentPropertyGrid.TryGetTarget(out PropertyGrid? target) 32&& target.AccessibilityObject is PropertyGrid.PropertyGridAccessibleObject propertyGridAccessibleObject) 60_parentPropertyGrid.TryGetTarget(out PropertyGrid? target); 69&& _parentPropertyGrid.TryGetTarget(out PropertyGrid? target) 74_parentPropertyGrid.TryGetTarget(out PropertyGrid? target);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridToolStripButton.cs (2)
10private readonly PropertyGrid _owningPropertyGrid; 14internal PropertyGridToolStripButton(PropertyGrid propertyGrid, bool selectItemEnabled)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridToolStripButton.PropertyGridToolStripButtonAccessibleObject.cs (1)
12private readonly PropertyGrid? _owningPropertyGrid;
System\Windows\Forms\Design\IWindowsFormsEditorService.cs (4)
11/// drop-down area from a <see cref="PropertyGrid"/> control in design mode. 23/// <see cref="PropertyGrid.PropertyGridServiceProvider"/> in the <see cref="SingleSelectRootGridEntry.GetService(Type)"/> 38/// <see cref="PropertyGrid"/> that provides this service. 43/// in a drop down area over the <see cref="PropertyGrid"/> hosting the editor which uses this service.
System\Windows\Forms\Design\PropertyTab.cs (2)
15/// displayed on the toolbar of the <see cref="PropertyGrid"/> control of the Properties window, and allow a 25/// The <see cref="PropertyGrid"/> will instantiate a <see cref="PropertyTab"/> of the type specified by a
System.Windows.Forms.Design (11)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
38private PropertyGrid _propertyGrid;
System\ComponentModel\Design\CollectionEditor.FilterListBox.cs (3)
16private PropertyGrid? _grid; 19private PropertyGrid? PropertyGrid 27if (c is PropertyGrid grid)
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (1)
14private PropertyGrid _cellStyleProperties;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
22private PropertyGrid _propertyGrid1;
System\Windows\Forms\Design\PropertyGridDesigner.cs (4)
13properties.Remove(nameof(PropertyGrid.AutoScroll)); 14properties.Remove(nameof(PropertyGrid.AutoScrollMargin)); 15properties.Remove(nameof(PropertyGrid.AutoScrollMinSize)); 16properties.Remove(nameof(PropertyGrid.DockPadding));
System\Windows\Forms\Design\VsPropertyGrid.cs (1)
24BitmapSelector.GetResourceStream(typeof(PropertyGrid), resourceName) ?? throw new InvalidOperationException(),