The PropertyAttribute type exposes the following members.

Constructors

  Name Description
Public method PropertyAttribute
Initializes a new instance of the PropertyAttribute class.

Properties

  Name Description
Public property Browsable
Gets or sets a value indicating whether the member is browsable (will be shown in the C1PropertyGrid).
(Inherited from MemberAttribute.)
Public property Category
Specifies the name of the category in which to group the member when displayed in The C1PropertyGrid.
(Inherited from MemberAttribute.)
Public property DefaultValue
Gets or sets the default value for the property.
Public property Description
Gets or sets a text, such as a tool tip, that is displayed to users to help them understand a member.
Public property DisplayIndex
Gets or sets the index that will be used to sort the properties.
Public property DisplayName
Gets or sets the name that will be displayed by the C1PropertyGrid when showing the member.
(Inherited from MemberAttribute.)
Public property Editor
Gets or sets the current editor selected for the property.
Public property Format
Gets or sets a string representing the desired Format for the property value. e.g. a specific numeric format to use in the numeric editor associated to the property).
Public property MaximumValue
Gets or sets the maximum allowed value for the property (applies only to numeric properties).
Public property MemberName
Gets or sets the name of the member.
(Inherited from MemberAttribute.)
Public property MinimumValue
Gets or sets the minimum allowed value for the property (applies only to numeric properties).
Public property PropertyBinding
Gets or sets the Binding to use when the property is bound to its associated editor.
Public property PropertyInfo
Gets the PropertyInfo corresponding to the current property.
Public property ReadOnly
Gets or sets a value indicating whether the property value can be edited.
Public property SelectedObject
Gets the current object this member attributes are applied to.
(Inherited from MemberAttribute.)
Public property Tag
Gets or sets an arbitrary object value that can be used to store custom information about this member.
(Inherited from MemberAttribute.)

See Also