.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

PropertyEditorAttribute Constructors

Applied to a custom Property Editor. Registers the Property Editor in the application and specifies the data type for which the Property Editor is intended.
Name Parameters Description
PropertyEditorAttribute() none Obsolete. Creates an instance of the PropertyEditorAttribute class.
PropertyEditorAttribute(Type) propertyType Obsolete. Creates an instance of the PropertyEditorAttribute class, initializing the PropertyEditorAttribute.PropertyType property.
PropertyEditorAttribute(Type, Boolean) propertyType, defaultEditor Creates an instance of the PropertyEditorAttribute class, initializing the PropertyEditorAttribute.PropertyType and PropertyEditorAttribute.IsDefaultEditor properties.
PropertyEditorAttribute(Type, String) propertyType, alias Creates an instance of the PropertyEditorAttribute class, initializing the PropertyEditorAttribute.PropertyType.
PropertyEditorAttribute(Type, String, Boolean) propertyType, alias, isDefaultEditor Creates an instance of the PropertyEditorAttribute class, initializing the PropertyEditorAttribute.PropertyType and PropertyEditorAttribute.IsDefaultEditor properties.
See Also