System.Windows.Forms.PropertyGrid Members

The members of System.Windows.Forms.PropertyGrid are listed below.

See Also: Inherited members from System.Windows.Forms.ContainerControl

Public Constructors

Initializes a new instance of the System.Windows.Forms.PropertyGrid class.

Public Properties

override
AutoScrollbool.

This property is not relevant for this class.

override
BackColorSystem.Drawing.Color. Documentation for this section has not yet been entered.
override
BackgroundImageSystem.Drawing.Image.

This property is not relevant for this class.

override
BackgroundImageLayoutImageLayout.

This property is not relevant for this class.

BrowsableAttributesSystem.ComponentModel.AttributeCollection.

Gets or sets the browsable attributes associated with the object that the property grid is attached to.

[read-only]
CanShowCommandsbool.

Gets a value indicating whether the commands pane can be made visible for the currently selected objects.

CategoryForeColorSystem.Drawing.Color.

Gets or sets the text color used for category headings.

CommandsActiveLinkColorSystem.Drawing.Color.

Gets or sets the color of active links in the executable commands region.

CommandsBackColorSystem.Drawing.Color.

Gets or sets the background color of the hot commands region.

CommandsDisabledLinkColorSystem.Drawing.Color.

Gets or sets the unavailable link color for the executable commands region.

CommandsForeColorSystem.Drawing.Color.

Gets or sets the foreground color for the hot commands region.

CommandsLinkColorSystem.Drawing.Color.

Gets or sets the link color for the executable commands region.

[read-only]
CommandsVisiblebool.

Gets a value indicating whether the commands pane is visible.

CommandsVisibleIfAvailablebool.

Gets or sets a value indicating whether the commands pane is visible for objects that expose verbs.

[read-only]
ContextMenuDefaultLocationSystem.Drawing.Point.

Gets the default location for the shortcut menu.

[read-only]
ControlsControl.ControlCollection.

This property is not relevant for this class.

override
ForeColorSystem.Drawing.Color.

This property is not relevant for this class.

HelpBackColorSystem.Drawing.Color.

Gets or sets the background color for the Help region.

HelpForeColorSystem.Drawing.Color.

Gets or sets the foreground color for the Help region.

HelpVisiblebool.

Gets or sets a value indicating whether the Help text is visible.

LargeButtonsbool.

Gets or sets a value indicating whether buttons appear in standard size or in large size.

LineColorSystem.Drawing.Color.

Gets or sets the color of the gridlines and borders.

PaddingPadding.

This property is not relevant for this class.

PropertySortPropertySort.

Gets or sets the type of sorting the System.Windows.Forms.PropertyGrid uses to display properties.

[read-only]
PropertyTabsPropertyGrid.PropertyTabCollection.

Gets the collection of property tabs that are displayed in the grid.

SelectedGridItemGridItem.

Gets or sets the selected grid item.

SelectedObjectobject.

Gets or sets the object for which the grid displays properties.

SelectedObjectsobject[].

Gets or sets the currently selected objects.

[read-only]
SelectedTabSystem.Windows.Forms.Design.PropertyTab.

Gets the currently selected property tab.

override
SiteSystem.ComponentModel.ISite. Documentation for this section has not yet been entered.
override
Textstring. Documentation for this section has not yet been entered.
ToolbarVisiblebool.

Gets or sets a value indicating whether the toolbar is visible.

UseCompatibleTextRenderingbool.

Gets or sets a value that determines whether to use the System.Drawing.Graphics class (ndptecgdiplus) or the System.Windows.Forms.TextRenderer class (ndptecgdi) to render text.

ViewBackColorSystem.Drawing.Color.

Gets or sets a value indicating the background color in the grid.

ViewForeColorSystem.Drawing.Color.

Gets or sets a value indicating the color of the text in the grid.

Protected Properties

[read-only]
override
DefaultSizeSystem.Drawing.Size. Documentation for this section has not yet been entered.
[read-only]
DefaultTabTypeType.

Gets the type of the default tab.

DrawFlatToolbarbool.

Gets or sets a value indicating whether the System.Windows.Forms.PropertyGrid control paints its toolbar with flat buttons.

[read-only]
override
ShowFocusCuesbool. Documentation for this section has not yet been entered.
ToolStripRendererToolStripRenderer.

Gets or sets the painting functionality for System.Windows.Forms.ToolStrip objects.

Public Methods

CollapseAllGridItems()

Collapses all the categories in the System.Windows.Forms.PropertyGrid.

ExpandAllGridItems()

Expands all the categories in the System.Windows.Forms.PropertyGrid.

override
Refresh()
Documentation for this section has not yet been entered.
RefreshTabs(System.ComponentModel.PropertyTabScope)

Refreshes the property tabs of the specified scope.

ResetSelectedProperty()

Resets the selected property to its default value.

Protected Methods

CreatePropertyTab(Type) : System.Windows.Forms.Design.PropertyTab

When overridden in a derived class, enables the creation of a System.Windows.Forms.Design.PropertyTab.

override
Dispose(bool)

Disposes of the resources (other than memory) used by the System.Windows.Forms.PropertyGrid.

OnComComponentNameChanged(System.ComponentModel.Design.ComponentRenameEventArgs)

Raises the System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.ComComponentNameChanged event.

override
OnEnabledChanged(EventArgs)

Raises the Control.EnabledChanged event.

override
OnFontChanged(EventArgs)
Documentation for this section has not yet been entered.
override
OnGotFocus(EventArgs)

Raises the Control.GotFocus event.

override
OnHandleCreated(EventArgs)

Raises the Control.HandleCreated event.

override
OnHandleDestroyed(EventArgs)
Documentation for this section has not yet been entered.
override
OnMouseDown(MouseEventArgs)

Raises the Control.MouseDown event.

override
OnMouseMove(MouseEventArgs)

Raises the Control.MouseMove event.

override
OnMouseUp(MouseEventArgs)

Raises the Control.MouseUp event.

OnNotifyPropertyValueUIItemsChanged(object, EventArgs)

Raises the System.Drawing.Design.IPropertyValueUIService.NotifyPropertyValueUIItemsChanged event.

override
OnPaint(PaintEventArgs)

Raises the Control.Paint event.

OnPropertySortChanged(EventArgs)

Raises the PropertyGrid.PropertySortChanged event.

OnPropertyTabChanged(PropertyTabChangedEventArgs)

Raises the PropertyGrid.PropertyTabChanged event.

OnPropertyValueChanged(PropertyValueChangedEventArgs)

Raises the PropertyGrid.PropertyValueChanged event.

override
OnResize(EventArgs)

Raises the Control.Resize event.

OnSelectedGridItemChanged(SelectedGridItemChangedEventArgs)

Raises the PropertyGrid.SelectedGridItemChanged event.

OnSelectedObjectsChanged(EventArgs)

Raises the PropertyGrid.SelectedObjectsChanged event.

override
OnSystemColorsChanged(EventArgs)

Raises the Control.SystemColorsChanged event.

override
OnVisibleChanged(EventArgs)

Raises the Control.VisibleChanged event.

override
ProcessDialogKey(Keys) : bool

Processes a dialog key.

override
ScaleCore(float, float)

This method is not relevant for this class.

ShowEventsButton(bool)

Displays or hides the events button.

override
WndProc(ref Message)
Documentation for this section has not yet been entered.

Public Events

BackgroundImageChanged

Occurs when the value of the PropertyGrid.BackgroundImage property changes.

BackgroundImageLayoutChanged

Occurs when the value of the PropertyGrid.BackgroundImageLayout property changes.

ForeColorChanged

Occurs when the value of the PropertyGrid.ForeColor property changes.

KeyDown

Occurs when a key is first pressed.

KeyPress

Occurs when a key is pressed while the control has focus.

KeyUp

Occurs when a key is released while the control has focus.

MouseDown

Occurs when the user clicks the System.Windows.Forms.PropertyGrid control with the mouse.

MouseEnter

Occurs when the mouse pointer enters the control.

MouseLeave

Occurs when the mouse pointer leaves the control.

MouseMove

Occurs when the mouse pointer moves over the control.

MouseUp

Occurs when the mouse pointer is over the control and the user releases a mouse button.

PaddingChanged

Occurs when the value of the PropertyGrid.Padding property changes.

PropertySortChanged

Occurs when the sort mode is changed.

PropertyTabChanged

Occurs when a property tab changes.

PropertyValueChanged

Occurs when a property value changes.

SelectedGridItemChanged

Occurs when the selected System.Windows.Forms.GridItem is changed.

SelectedObjectsChanged

Occurs when the objects selected by the PropertyGrid.SelectedObjects property have changed.

TextChanged

Occurs when the text of the System.Windows.Forms.PropertyGrid changes.

Explicitly Implemented Interface Members

System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.DropDownDone

Closes any open drop-down controls on the System.Windows.Forms.PropertyGrid control. For a description of this member, see System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.DropDownDone.

System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.EnsurePendingChangesCommitted

Commits all pending changes to the System.Windows.Forms.PropertyGrid control. For a description of this member, see System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.EnsurePendingChangesCommitted.

System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.HandleF4

Activates the System.Windows.Forms.PropertyGrid control when the user chooses properties for a control in Design view. For a description of this member, see System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.HandleF4.

[read-only]
System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.InPropertySetbool.

For a description of this member, see System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.InPropertySet.

System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.LoadState

Loads user states from the registry into the System.Windows.Forms.PropertyGrid control. For a description of this member, see System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.LoadState(Microsoft.Win32.RegistryKey).

System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.SaveState

Saves user states from the System.Windows.Forms.PropertyGrid control to the registry. For a description of this member, see System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.SaveState(Microsoft.Win32.RegistryKey).