DOMDisplayAttribute

From Virtual World Web Wiki
Jump to: navigation, search

Provides display hints for DOM hierarchy and property viewers. This attribute can be placed on classes or formal properties to improve their display in Curioisty or other tools.

Remarks [edit]

Properties

string Category {get; set;}
Specifies the category under which the attributed property should be displayed.
uint Color {get; set;}
Specifies the background color for the attributed property when displayed in a property grid. This helps with color grouping. This attribute can be applied to a class as well and then applies to all formal properties intruduced by this class.
string Description {get; set;}
Specifies a more in-depth description for the property for display in DOM viewers.
string DisplayName {get; set;}
Specifies an alternate display name (usually prettier or more human readable) for the attributed property.
int Order {get; set;}
Provides a sort order for the attributed property (within it's category). The default sort order is 0.

Constructors

DOMDisplayAttribute()
Constructs a new DOMDisplayAttribute
DOMDisplayAttribute(int order)
Constructs a new DOMDisplayAttribute