Skip to main content
.NET 6.0+

PropertyEditor Properties

A base class for Property Editors.
Name Description
AllowEdit Provides access to a collection of reason/value pairs used to make a PropertyEditor read-only/editable.
AllowNull Indicates whether a property represented by the current Property Editor can be set to null (Nothing in VB).
CanFormatPropertyValue Gets whether or not the PropertyEditor‘s value can be formatted.
Caption Returns the current Property Editor’s caption.
Control Returns the current View Item’s control displayed in a UI. Inherited from ViewItem.
ControlValue Returns the value that is set to the current Property Editor’s control.
CurrentObject Specifies the object for which the current View Item’s View is created. Inherited from ViewItem.
DisplayFormat Specifies the display format string for the Property Editor’s value.
EditMask Specifies a mask expression for a Property Editor’s control.
EditMaskType Specifies the PropertyEditor‘s edit mask type.
ErrorIcon Specifies the error icon displayed within the PropertyEditor when an error is associated with the editor.
ErrorMessage Specifies the message about validation rules broken because of the current Property Editor’s bound property.
Id Gets the identifier of the current View Item. Inherited from ViewItem.
ImmediatePostData Specifies whether the property editor’s control value should be passed to the property of a bound object as soon as possible when the value is changed by user. For instance, it allows you to enforce updating other displayed values that are calculated based on the current property.
IsCaptionVisible Indicates whether the caption of the current Property Editor should be visible in a UI.
IsDisposed Inherited from ViewItem.
IsPassword Specifies whether the current Property Editor represents a password.
MaxLength Specifies the maximum length that the current Property Editor’s value can have.
MemberInfo Provides access to the IMemberInfo object that contains information on the property represented by the current Property Editor.
Model Provides access to the Application Model‘s node defining the current Property Editor.
NullText Specifies the text that a Property Editor displays when its value is null or String.Empty. WinForms Property Editors also show this text if their value is DBNull.Value.
ObjectType Specifies the type of object for which the current View Item’s View is created. Inherited from ViewItem.
ObjectTypeInfo Provides access to the information on the type of the object which is represented by the current View Item’s View. Inherited from ViewItem.
PropertyName Specifies the name of the property that is represented by the current Property Editor.
PropertyValue Specifies the value of the property represented by the current Property Editor.
View Specifies the Detail View that contains the current View Item. Inherited from ViewItem.
See Also