Skip to main content
.NET 8.0+

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

PropertyEditorAttribute() Constructor

In This Article
OBSOLETE

Use 'PropertyEditorAttribute(Type propertyType, bool defaultEditor)' instead.

Creates an instance of the PropertyEditorAttribute class.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

[Obsolete("Use 'PropertyEditorAttribute(Type propertyType, bool defaultEditor)' instead.", true)]
[Browsable(false)]
public PropertyEditorAttribute()

#Remarks

When using this constructor, the system will add the target Property Editor to the list of available Property Editors in the Application Model. So, you will be able to select your Property Editor as a value of the Views | <DetailView> | Items | <PropertyEditor> node’s PropertyEditorType property. In addition, you will be able to select this Property Editor as a default editor for properties of a particular type via the ViewItems | PropertyEditors | PropertyEditor node’s EditorType property. To specify that your Property Editor is designed for a certain data type only, use one of the remaining PropertyEditor constructors.

See Also