Skip to main content
.NET 8.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, Boolean) propertyType, defaultEditor Creates an instance of the PropertyEditorAttribute class, initializing the PropertyEditorAttribute.PropertyType and PropertyEditorAttribute.IsDefaultEditor properties.
PropertyEditorAttribute(Type, String, Boolean) propertyType, alias, isDefaultEditor 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) propertyType Obsolete. Creates an instance of the PropertyEditorAttribute class, initializing the PropertyEditorAttribute.PropertyType property.
See Also