wpf-devexpress-dot-xpf-dot-propertygrid-588ef36f.md
Represents a property definition.
Namespace : DevExpress.Xpf.PropertyGrid
Assembly : DevExpress.Xpf.PropertyGrid.v25.2.dll
NuGet Package : DevExpress.Wpf.PropertyGrid
public class PropertyDefinition :
PropertyDefinitionBase
Public Class PropertyDefinition
Inherits PropertyDefinitionBase
The following members return PropertyDefinition objects:
To learn more, see Property Definitions.
The following code snippets (auto-collected from DevExpress Examples) contain references to the PropertyDefinition 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/MainWindow.xaml#L21
ShowProperties="WithPropertyDefinitions" ShowCategories="False" CellValueChanged="pGrid_CellValueChanged" >
<dxprg:PropertyDefinition Path="ProductName" />
<dxprg:PropertyDefinition Path="City" />
wpf-property-grid-apply-data-annotation-attributes/CS/MainWindow.xaml#L15
<DataTemplate x:Key="ImageTemplate">
<dxprg:PropertyDefinition Path="Photo" AllowExpanding="Never">
<dxprg:PropertyDefinition.CellTemplate>
<DataTemplate x:Key="PropertyTemplate">
<dxprg:PropertyDefinition Header="Full Address" HeaderShowMode="OnlyHeader"/>
</DataTemplate>
Object DispatcherObject DependencyObject Visual UIElement FrameworkElement PropertyDefinitionBase PropertyDefinition CollectionDefinition
See Also