Specifies the display name for a field. More...
Inherits DecoratingPropertyAttribute.
Public Member Functions | |
DisplayNameAttribute (string name) | |
Initializes a new instance of the DisplayNameAttribute class with the specified name. More... | |
Public Attributes | |
readonly string | Name |
Field name to display. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from DecoratingPropertyAttribute | |
const int | DefaultOrder = -10000 |
The default order of the attribute. More... | |
Protected Member Functions inherited from DecoratingPropertyAttribute | |
DecoratingPropertyAttribute () | |
Initializes a new instance with the default order. More... | |
DecoratingPropertyAttribute (int order) | |
Initializes a new instance with the specified order. More... | |
Specifies the display name for a field.
DisplayNameAttribute | ( | string | name | ) |
Initializes a new instance of the DisplayNameAttribute class with the specified name.
name | The display name. |
readonly string Name |
Field name to display.