[]
        
(Showing Draft Content)

C1.WPF.Extended.PropertyAttribute

PropertyAttribute Class

Used to provide configuration information for the C1PropertyGrid.

Inheritance
PropertyAttribute
Namespace: C1.WPF.Extended
Assembly: C1.WPF.Extended.4.6.2.dll
Syntax
public class PropertyAttribute : MemberAttribute

Constructors

Name Description
PropertyAttribute()

Initializes a new instance of the PropertyAttribute class.

Properties

Name Description
DefaultValue

Gets or sets the default value for the property.

Description

Gets or sets a text, such as a tool tip, that is displayed to users to help them understand a member.

DisplayIndex

Gets or sets the index that will be used to sort the properties.

Editor

Gets or sets the current editor selected for the 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).

IsAttached

Gets or sets a value indicating whether the property is attached.

MaximumValue

Gets or sets the maximum allowed value for the property (applies only to numeric properties).

MinimumValue

Gets or sets the minimum allowed value for the property (applies only to numeric properties).

PropertyBinding

Gets or sets the Binding to use when the property is bound to its associated editor.

PropertyInfo

Gets the PropertyInfo corresponding to the current property.

ReadOnly

Gets or sets a value indicating whether the property value can be edited.