1 type derived from PropertyGrid
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\VsPropertyGrid.cs (1)
8
internal 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)
127
else 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
4006
protected virtual Bitmap SortByPropertyImage => ScaleHelper.GetIconResourceAsDefaultSizeBitmap(typeof(
PropertyGrid
), "PBAlpha");
4014
protected virtual Bitmap SortByCategoryImage => ScaleHelper.GetIconResourceAsDefaultSizeBitmap(typeof(
PropertyGrid
), "PBCategory");
4022
protected virtual Bitmap ShowPropertyPageImage => ScaleHelper.GetIconResourceAsDefaultSizeBitmap(typeof(
PropertyGrid
), "PBPPage");
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.FreezePaintScope.cs (2)
10
private readonly
PropertyGrid
_propertyGrid;
12
public FreezePaintScope(
PropertyGrid
propertyGrid)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.MeasureTextHelper.cs (4)
15
public static SizeF MeasureText(
PropertyGrid
owner, Graphics g, string? text, Font font)
18
public static SizeF MeasureText(
PropertyGrid
owner, Graphics g, string? text, Font font, int width)
21
public static SizeF MeasureTextSimple(
PropertyGrid
owner, Graphics g, string? text, Font font, SizeF size)
31
public static SizeF MeasureText(
PropertyGrid
owner, Graphics g, string? text, Font font, SizeF size)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.PropertyGridAccessibleObject.cs (4)
20
public PropertyGridAccessibleObject(
PropertyGrid
owningPropertyGrid) : base(owningPropertyGrid) { }
24
if (!this.IsOwnerHandleCreated(out
PropertyGrid
? owningPropertyGrid))
103
if (!this.TryGetOwnerAs(out
PropertyGrid
? owningPropertyGrid) || index < 0)
157
if (!this.TryGetOwnerAs(out
PropertyGrid
? owningPropertyGrid))
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.PropertyGridServiceProvider.cs (2)
16
private readonly
PropertyGrid
_ownerPropertyGrid;
18
public PropertyGridServiceProvider(
PropertyGrid
ownerPropertyGrid)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.PropertyTabCollection.cs (2)
14
private readonly
PropertyGrid
_ownerPropertyGrid;
16
internal PropertyTabCollection(
PropertyGrid
ownerPropertyGrid)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.SnappableControl.cs (2)
12
protected
PropertyGrid
OwnerPropertyGrid { get; }
18
public SnappableControl(
PropertyGrid
ownerPropertyGrid)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ArrayElementGridEntry.cs (1)
10
public ArrayElementGridEntry(
PropertyGrid
ownerGrid, GridEntry parent, int index)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CategoryGridEntry.cs (1)
17
public CategoryGridEntry(
PropertyGrid
ownerGrid, GridEntry parent, string name, IEnumerable<GridEntry> children)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CommandsPane.CommandsPaneAccessibleObject.cs (6)
16
private readonly WeakReference<
PropertyGrid
> _parentPropertyGrid;
22
/// <param name="parentPropertyGrid">The parent <see cref="
PropertyGrid
"/> control.</param>
23
public CommandsPaneAccessibleObject(CommandsPane owningCommandsPane,
PropertyGrid
parentPropertyGrid) : base(owningCommandsPane)
30
if (_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.
27
internal partial class CommandsPane :
PropertyGrid
.SnappableControl
35
internal CommandsPane(
PropertyGrid
owner) : base(owner)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (7)
71
protected GridEntry(
PropertyGrid
ownerGrid, GridEntry? parent)
237
/// <see cref="
PropertyGrid
"/> will update this when <see cref="
PropertyGrid
.ActiveDesigner"/> is set.
634
public
PropertyGrid
OwnerGrid { get; }
1191
SizeF textSize =
PropertyGrid
.MeasureTextHelper.MeasureText(OwnerGrid, graphics, text, font);
1599
TextRenderer.DrawText(g, label, font, textRect, textColor,
PropertyGrid
.MeasureTextHelper.GetTextRendererFlags());
1935
(TextFormatFlags)format |
PropertyGrid
.MeasureTextHelper.GetTextRendererFlags());
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (3)
27
private readonly
PropertyGrid
_ownerGrid;
42
public GridErrorDialog(
PropertyGrid
owner)
301
SizeF 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.
16
internal partial class HelpPane :
PropertyGrid
.SnappableControl
33
internal HelpPane(
PropertyGrid
owner) : base(owner)
92
SizeF sizef =
PropertyGrid
.MeasureTextHelper.MeasureText(OwnerPropertyGrid, g, _titleLabel.Text, Font, width);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.HelpPaneAccessibleObject.cs (6)
16
private readonly WeakReference<
PropertyGrid
> _parentPropertyGrid;
22
/// <param name="parentPropertyGrid">The parent <see cref="
PropertyGrid
"/> control.</param>
23
public HelpPaneAccessibleObject(HelpPane owningHelpPane,
PropertyGrid
parentPropertyGrid) : base(owningHelpPane)
30
if (_parentPropertyGrid.TryGetTarget(out
PropertyGrid
? target)
31
&& target.AccessibilityObject is
PropertyGrid
.PropertyGridAccessibleObject propertyGridAccessibleObject)
62
return _parentPropertyGrid.TryGetTarget(out
PropertyGrid
? target)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (1)
23
PropertyGrid
ownerGrid,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\IRootGridEntry.cs (1)
10
/// <see cref="
PropertyGrid
"/>.
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (1)
15
PropertyGrid
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)
37
PropertyGrid
ownerGrid,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (4)
117
public PropertyGridView(IServiceProvider? serviceProvider,
PropertyGrid
propertyGrid)
452
public
PropertyGrid
OwnerGrid { get; private set; }
967
typeof(
PropertyGrid
),
1094
SizeF sizeF =
PropertyGrid
.MeasureTextHelper.MeasureText(OwnerGrid, g, gridEntry.PropertyLabel, Font);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
614
SizeF sizef =
PropertyGrid
.MeasureTextHelper.MeasureText(
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (4)
17
private readonly WeakReference<
PropertyGrid
> _parentPropertyGrid;
19
public PropertyGridViewAccessibleObject(PropertyGridView owner,
PropertyGrid
parentPropertyGrid) : base(owner)
29
if (!_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)
12
private readonly
PropertyGrid
_parentPropertyGrid;
18
public PropertyGridToolStrip(
PropertyGrid
parentPropertyGrid)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridToolStrip.PropertyGridToolStripAccessibleObject.cs (7)
16
private readonly WeakReference<
PropertyGrid
> _parentPropertyGrid;
23
public PropertyGridToolStripAccessibleObject(PropertyGridToolStrip owningPropertyGridToolStrip,
PropertyGrid
parentPropertyGrid) : base(owningPropertyGridToolStrip)
30
if (_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)
10
private readonly
PropertyGrid
_owningPropertyGrid;
14
internal PropertyGridToolStripButton(
PropertyGrid
propertyGrid, bool selectItemEnabled)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridToolStripButton.PropertyGridToolStripButtonAccessibleObject.cs (1)
12
private 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)
38
private
PropertyGrid
_propertyGrid;
System\ComponentModel\Design\CollectionEditor.FilterListBox.cs (3)
16
private
PropertyGrid
? _grid;
19
private
PropertyGrid
? PropertyGrid
27
if (c is
PropertyGrid
grid)
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (1)
14
private
PropertyGrid
_cellStyleProperties;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
22
private
PropertyGrid
_propertyGrid1;
System\Windows\Forms\Design\PropertyGridDesigner.cs (4)
13
properties.Remove(nameof(
PropertyGrid
.AutoScroll));
14
properties.Remove(nameof(
PropertyGrid
.AutoScrollMargin));
15
properties.Remove(nameof(
PropertyGrid
.AutoScrollMinSize));
16
properties.Remove(nameof(
PropertyGrid
.DockPadding));
System\Windows\Forms\Design\VsPropertyGrid.cs (1)
24
BitmapSelector.GetResourceStream(typeof(
PropertyGrid
), resourceName) ?? throw new InvalidOperationException(),