Back to Devexpress

PropertyDefinition.Type Property

wpf-devexpress-dot-xpf-dot-propertygrid-dot-propertydefinition-e49db6a8.md

latest2.4 KB
Original Source

PropertyDefinition.Type Property

Gets or sets the type of the property that is associated with current property definition. This is a dependency property.

Namespace : DevExpress.Xpf.PropertyGrid

Assembly : DevExpress.Xpf.PropertyGrid.v25.2.dll

NuGet Package : DevExpress.Wpf.PropertyGrid

Declaration

csharp
public Type Type { get; set; }
vb
Public Property Type As Type

Property Value

TypeDescription
Type

The property type.

|

Remarks

Use the Type property to specify the type of the associated property.

See Property Definitions to learn more.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Type property.

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#L26

xml
<dxprg:PropertyDefinition Path="Quantity" />
<dxprg:CollectionDefinition Path="Suppliers" Type="{x:Type local:SupplierBase}"
                            NewItemInitializer="{StaticResource itemInitializer}" UseCollectionEditor="True" >

See Also

Property Definitions

PropertyDefinition Class

PropertyDefinition Members

DevExpress.Xpf.PropertyGrid Namespace