Skip to main content
.NETFramework4.6.2net8.0-windows

Target Platform/Framework: Desktop DevExpress Product Libraries Used: WPF UI components (https://www.devexpress.com/wpf) Available in the following DevExpress Subscription(s): Universal, DXperience, WPF, Reporting

Published
Jan 1, 1900
128y ago
Total Downloads
257.5K
257,549

Install

dotnet add package DevExpress.Wpf.PropertyGrid --version 26.1.5-pre-26248
ProductVersions
.NET
net8.0-windows
Other
.NETFramework4.6.2

README

DevExpress WPF Property Grid

DevExpress.Wpf.PropertyGrid includes the DevExpress WPF Property Grid control. The PropertyGridControl displays public properties of a business object and generates an appropriate in-place editor for each one.

dotnet add package DevExpress.Wpf.PropertyGrid

Key Features

  • Automatic Editor Generation: Assign a business object to SelectedObject and the control creates a suitable editor for every property.
  • Categories: Group properties into categories with CategoryDefinition, control category display with ShowCategories, and expand them automatically with ExpandCategoriesWhenSelectedObjectChanged.
  • Explicit Property Definitions: Declare PropertyDefinition elements to specify which properties appear, their order, and their editors.
  • Attribute Support: Use standard .NET and Data Annotation attributes to assign captions, categories, and validation rules in the model.
  • Descriptions: Display a property description panel and specify its position with ShowDescriptionIn.
  • Expandable Properties: Expand and collapse nested objects and collections.
  • Tabbed Presentation: Split properties across tabs instead of a single flat list.
  • Data Editors: Use the full range of DevExpress WPF editors as in-place editors.

Examples

Example: Inspect an Object

<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:dxprg="http://schemas.devexpress.com/winfx/2008/xaml/propertygrid">

    <dxprg:PropertyGridControl SelectedObject="{Binding Employee}"
                               ShowCategories="True">
        <!-- Explicit definitions limit and order the displayed properties. -->
        <dxprg:PropertyDefinition Path="FirstName" />
        <dxprg:PropertyDefinition Path="LastName" />
        <dxprg:PropertyDefinition Path="HireDate" />
    </dxprg:PropertyGridControl>
</Window>

In this configuration, the control behaves as follows:

  • Displays three properties of the bound object and edits them in place
  • Groups properties into categories
  • Selects an editor based on each property's type

Evaluation Period, Pricing Options, and Licensing Terms

Whether you own a license or want to start a 30-day evaluation period, download and register your DevExpress license key. To obtain your key, log in to the DevExpress Download Manager. Use your existing DevExpress.com account or create a new account for free. For key registration instructions, see License Key for DevExpress Products.

If you purchase a license after evaluating a product, re-register your updated DevExpress license key to remove evaluation version warnings/messages.

This package is included in the following commercial subscriptions:

See DevExpress Subscriptions & Licensing for subscription comparison tables, purchasing FAQ, and licensing information.

Related Components/Packages

DevExpress.Wpf.Core - DevExpress WPF data editors and core libraries.

dotnet add package DevExpress.Wpf.Core

DevExpress.Wpf.LayoutControl - DevExpress WPF Layout containers for data entry forms.

dotnet add package DevExpress.Wpf.LayoutControl

DevExpress.Wpf - The complete DevExpress WPF Control suite.

dotnet add package DevExpress.Wpf

Demos

NOTE: Demo links below only work if you already have DevExpress WPF Demos installed on your machine. To install demos, download and run the DevExpress Unified Installer (evaluation or licensed version). Remember to select "Demo Applications" on the product selection screen.

Documentation

Software Bill of Materials (SBOM)

To access SBOM files for DevExpress packages, please refer to the following article: Software Bill of Materials (SBOM) for DevExpress .NET assemblies/NuGet packages, JavaScript, VCL and other redistributable artifacts.

See Also: Information Security | Security - What You Need to Know

Useful Online Resources

Changes from Previous Version

No structural changes between v26.1.6-pre-26277 and v26.1.5-pre-26248.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.This version is unlisted. Prefer a listed release unless you deliberately need this exact version for reproducibility.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.