PropertyEditorAttribute(Type) Constructor
OBSOLETE
Use 'Property
Creates an instance of the PropertyEditorAttribute class, initializing the PropertyEditorAttribute.PropertyType property.
Namespace: DevExpress.ExpressApp.Editors
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
property |
Type | The type of properties for which the target Property Editor is designed. |
#Remarks
Use this constructor when you want your Property Editor to be automatically set for properties of a particular data type. In this instance, pass the required data type as the first attribute parameter. As a result, the EditorType property will be set to your Property Editor type for the Application Model’s ViewItems | PropertyEditors | PropertyEditor node, that defines the data type passed as a parameter. Note that your Property Editor might not be set automatically if there is another Property Editor with the same parameter.