Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PropertyDefinition.TypeMatchMode Property

Defines the rules of type matching between the properties in the data source and the PropertyGrid’s property definitions.

Namespace: DevExpress.Xpf.PropertyGrid

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

NuGet Package: DevExpress.Wpf.PropertyGrid

#Declaration

public TypeMatchMode TypeMatchMode { get; set; }

#Property Value

Type Description
TypeMatchMode

A TypeMatchMode enumeration value.

Available values:

Name Description
Direct

Property definition of type T is linked to a data source’s property of type T.

Extended

Property definition of type T is linked to a data source’s property that can be assigned to T.

#Remarks

When you link a property definition to a data source using a PropertyDefinition.Type property, you can define the rules of type matching using the TypeMatchMode property.

Note

Property definition of type T can be linked to data source’s property of type Nullable<T>. However, if property grid contains property definitions of type T and of type Nullable<T>, the latter has higher priority.

See Also