The PropertyGrid type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| PropertyGrid |
Initialises a new instance of the PropertyGrid class.
|
Methods
| Name | Description | |
|---|---|---|
| AddNode | Overloaded. | |
| AddPropertyNode | Overloaded. | |
| InstallLicense |
Performs manual licensing for specialized deployment scenarios.
| |
| OnApplyTemplate |
Called by the framework when a template is applied to the control.
(Overrides FrameworkElement..::.OnApplyTemplate()()().) | |
| Refresh |
Forces the grid to reload the selected object. This method should not be
called in normal use. It should be called only if you have dynamically added
or removed a property (for example via a type converter or an
ICustomTypeDescriptor implementation) since the object was loaded.
| |
| RemoveNode |
Removes a top-level node from the grid.
|
Fields
Properties
| Name | Description | |
|---|---|---|
| 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 or sets the styles applied to built-in editors.
This is a dependency property.
| |
| 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.
| |
| CursorKeyMode |
Gets or sets how the grid handles cursor keys when typed into editors.
This is a dependency property.
| |
| 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.
| |
| Grouping |
Gets or sets property grouping settings.
This is a dependency property.
| |
| 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 or typing a value.
| |
| ListSelectNoTextEntryEditorKey |
Gets the ResourceKey for the DataTemplate that
edits values by selecting them from a drop-down list and does not permit typing
of arbitrary values.
| |
| ManyEditorKey |
Gets the ResourceKey for the DataTemplate that
edits inconsistent values.
| |
| NodeClearanceMode |
Specifies how the grid handles internal node data.
This is an advanced setting.
| |
| Nodes |
Gets or sets the set of top-level nodes in the grid.
This is a dependency property.
| |
| NonAutoUpdatingTextEditorKey |
Gets the ResourceKey for the DataTemplate that
edits values as plain text and updates the value only when it loses focus.
| |
| NumericUpDownEditorKey |
Gets the ResourceKey for the DataTemplate that
edits numeric values using a text box and a pair of up-down buttons.
| |
| PropertyNameTemplate |
Gets or sets the DataTemplate used to display property names.
This is a dependency property.
| |
| PropertyNameTemplateKey |
Gets the ResourceKey for the DataTemplate that
presents property names.
| |
| PropertyNameToolTipTemplate |
Gets or sets the data template for tooltips shown when the user hovers over a
property name.
This is a dependency property.
| |
| 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.
| |
| SelectedGridItem |
Gets or sets the selected grid item.
This is a dependency property.
| |
| SelectedObject |
Gets or sets the object for which the grid displays properties. This is a dependency
property.
| |
| SelectedObjects |
Gets or sets the objects for which the grid displays properties.
This is a dependency property.
| |
| SelectionTrackingStyleKey |
Gets the ResourceKey for the Style that
tracks the current selection in templates based on a TreeListView.
| |
| 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.
| |
| Sorting |
Gets or sets property sorting order.
This is a dependency property.
| |
| SortSubproperties |
Gets or sets whether the Sorting setting should be applied to subproperties.
This is a dependency property.
|
Events
| Name | Description | |
|---|---|---|
| SelectedGridItemChanged |
Occurs when the user selects a new item in the property grid.
|