Back to Devexpress

TypeMatchMode Enum

wpf-devexpress-dot-xpf-dot-propertygrid-9b40a37e.md

latest2.7 KB
Original Source

TypeMatchMode Enum

Lists the values that specify 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.v25.2.dll

NuGet Package : DevExpress.Wpf.PropertyGrid

Declaration

csharp
public enum TypeMatchMode
vb
Public Enum TypeMatchMode

Members

NameDescription
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.

|

The following properties accept/return TypeMatchMode values:

Remarks

Values listed by the TypeMatchMode enumeration are used to set the PropertyDefinition.TypeMatchMode property.

TypeMatchMode.Direct (default) - the property definition is used to present the property in the PropertyGridControl if the property type matches the value of the property definition’s PropertyDefinition.Type.

TypeMatchMode.Extended - the property definition is used to present the property in the PropertyGridControl if one of the following is true:

See Also

Property Definitions

System.Type.IsAssignableFrom Method (MSDN)

DevExpress.Xpf.PropertyGrid Namespace