Search
PropertyGrid Members
Constructors Properties Methods Events
 


Provides a user interface for browsing and editing the properties of an object.

The following tables list the members exposed by the PropertyGrid type.

 Public Constructors

  Name Description

PropertyGrid

Initializes a new instance of the PropertyGrid class.

 Public Properties

  Name Description

acceptDrop

ListContainer.acceptDrop override.

allowCellSelect

Gets or sets a value, indicating whether single cell selection is enabled.

allowDrag

ListContainer.allowDrag override.

allowDrop

ListContainer.allowDrop override.

allowEdit

Gets or sets a value, indicating whether inplace editing is enabled.

allowScroll

Gets or sets a value, indicating whether scrolling is enabled.

currentIndex

Gets the index of the currently selected object, if that object is within a collection property.

currentObject

Gets the object whose properties are currently displayed by this control.

currentProperty

Gets the name of the selected property.

editReadonlyProperties

Gets or sets a value indicating whether properties that don't have setters can be edited.

metaData

Gets or sets the meta data dictionary, associated with this control.

selectedObject

Gets or sets the object whose properties can be edited by this control.

showAllProperties

Gets or sets a value indicating whether to enumerate the properties, that are not included in the meta data dictionary.

showReadonlyProperties

Gets or sets a value indicating whether to enumerate the properties that don't have setters.

 Public Methods

  Name Description

attach

Control.attach override.

collapseProperty

Collapses the specified property.

detach

Control.detach override.

draw

Control.draw override.

expandProperty

Expands the specified property.

onItemsChanging

onItemsChanging override.

onPropertyChanged

onPropertyChanged override.

rebind

Refreshes the grid after external modifications to the selected object.

 Public Events

  Name Description

currentObjectChanged

Raised when the current object is changed.

currentObjectChanging

Raised when the current object is changing.

propertyValueChanged

Raised when a property value is changed.

propertyValueChanging

Raised when a property value is changing.

rowLoading

Raised when a row data is loading.

rowRendered

Raised when a row is rendered.

 See Also