wpf-devexpress-dot-xpf-dot-propertygrid.md
The property grid control.
Namespace : DevExpress.Xpf.PropertyGrid
Assembly : DevExpress.Xpf.PropertyGrid.v25.2.dll
NuGet Package : DevExpress.Wpf.PropertyGrid
[DXLicenseWpf]
public class PropertyGridControl :
Control,
INavigationSupport
<DXLicenseWpf>
Public Class PropertyGridControl
Inherits Control
Implements INavigationSupport
The following members return PropertyGridControl objects:
The DevExpress WPF Property Grid Control is a data bound control that allows you to display and edit an object’s properties. This control offers multiple features such as a built-in search control, a wide array of cell editors, the capability to switch the object in runtime, flexible property definitions, and more.
Run Demo: Property Grid - Layout Customization
View Example: Property Grid - Display Object Properties
The following code snippets (auto-collected from DevExpress Examples) contain references to the PropertyGridControl class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-propertygrid-add-an-item-to-a-collection-or-a-dictionary/CS/Dictionary/MainWindow.xaml#L14
</Grid.ColumnDefinitions>
<dxprg:PropertyGridControl Name="pGrid" SelectedObject="{Binding Path=CurrentItem, ElementName=grid}" Grid.Column="1"
ShowCategories="False" CellValueChanged="pGrid_CellValueChanged" >
wpf-property-grid-apply-data-annotation-attributes/CS/MainWindow.xaml#L13
</Window.Resources>
<dxprg:PropertyGridControl SelectedObject="{Binding Path=.}" ExpandCategoriesWhenSelectedObjectChanged="True"/>
</Window>
wpf-property-grid-show-tooltips-in-new-item-menu/CS/PropertyGridMenuOpening/MainWindow.xaml#L8
Title="MainWindow" Height="800" Width="1000">
<dxprg:PropertyGridControl x:Name="propertyGrid" ShowCategories="Hidden" MenuOpening="OnMenuOpening"/>
</dx:ThemedWindow>
wpf-property-grid-specify-custom-collection-edit-actions/CS/MainWindow.xaml#L8
Title="MainWindow" Height="800" Width="1000">
<dxprg:PropertyGridControl x:Name="propertyGrid"
ShowCategories="Hidden"
<dxprg:PropertyGridControl ExpandCategoriesWhenSelectedObjectChanged="True"
ShowCategories="False"
Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control PropertyGridControl
See Also