The PropertyGrid type exposes the following members.

Constructors

  NameDescription
PropertyGrid
Initialises a new instance of the PropertyGrid class.

Methods

  NameDescription
AddNodeOverloaded.
AddPropertyNodeOverloaded.
OnApplyTemplate
Called by the framework when a template is applied to the control.
(Overrides FrameworkElement..::.OnApplyTemplate()()().)
RemoveNode
Removes a top-level node from the grid.

Fields

  NameDescription
AllowModifyCollectionsProperty
Identifies the AllowModifyCollections property.
BindingViewProperty
Identifies the BindingView dependency property.
CollectionAddCommand
A command for adding an item to a collection.
CollectionRemoveCommand
A command for removing an item from a collection.
DefaultMarginProperty
Identifies the DefaultMargin property.
IsToolBarVisibleProperty
Identifies the IsToolBarVisible property.
ItemsSourceProperty
Identifies the ItemsSource property.
NodesProperty
Identifies the Nodes property.
SelectedGridItemChangedEvent
Identifies the SelectedGridItemChanged event.
SelectedObjectProperty
Identifies the SelectedObject dependency property.

Properties

  NameDescription
AllowModifyCollections
Gets or sets whether the grid should display a user interface to allow the user to add or remove items from collections. This is a dependency property.
BindingView
Gets or sets the PropertyGridBindingView representing the view state of the grid. This is a dependency property.
BuiltInEditorStyles
Gets the styles applied to built-in editors.
CheckBoxEditorKey
Gets the ResourceKey for the DataTemplate that edits boolean values using a check box.
CollectionDisplayKey
Gets the ResourceKey for the DataTemplate that presents collections.
CollectionElementEditorKey
Gets the ResourceKey for the DataTemplate that presents collection elements.
ColorEditorKey
Gets the ResourceKey for the DataTemplate that edits colors using a color picker.
DateEditorKey
Gets the ResourceKey for the DataTemplate that edits dates using a calendar display.
DefaultMargin
Gets or sets the default margin placed around editors. This is a dependency property.
Editors
Gets the collection of custom editors for this PropertyGrid instance.
EditorSelector
Gets the template selector used to create value editors.
IsToolBarVisible
Gets or sets whether the built-in toolbar should be displayed above the grid. This is a dependency property.
ItemsSource
Gets or sets a collection used to generate the content of the PropertyGrid. This is a dependency property.
ListSelectEditorKey
Gets the ResourceKey for the DataTemplate that edits values by selecting them from a drop-down list.
MaskedTextEditorKey
Gets the ResourceKey for the DataTemplate that edits values using a masked text box.
Nodes
Gets or sets the set of top-level nodes in the grid. This is a dependency property.
NumericUpDownEditorKey
Gets the ResourceKey for the DataTemplate that edits numeric values using a text box and a pair of up-down buttons.
RadioSelectEditorKey
Gets the ResourceKey for the DataTemplate that edits values by selecting them from a group of radio buttons.
ReadOnlyDisplayKey
Gets the ResourceKey for the DataTemplate that presents non-editable values.
SelectedObject
Gets or sets the object for which the grid displays properties. This is a dependency property.
SimpleTextEditorKey
Gets the ResourceKey for the DataTemplate that edits values as plain text.
SliderEditorKey
Gets the ResourceKey for the DataTemplate that edits numeric values using a slider.

Events

  NameDescription
SelectedGridItemChanged
Occurs when the user selects a new item in the property grid.

See Also