[This is preliminary documentation and is subject to change.]

Attribute to change a label of a property from its default name to an arbitrary string.

Namespace: Spielwerke.Data
Assembly:  Spielwerke.Data (in Spielwerke.Data.dll)
Version: 1.0.2761.41972

Syntax

C#
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Property, Inherited = false)]
public class DisplayLabelAttribute : Attribute, IDisplayLabelAttribute
Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Property, Inherited := False)> _
Public Class DisplayLabelAttribute _
	Inherits Attribute _
	Implements IDisplayLabelAttribute
Visual C++
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Property, Inherited = false)]
public ref class DisplayLabelAttribute : public Attribute, 
	IDisplayLabelAttribute

Remarks

The label itself cannot be changed once the attribute is created because property consumers assume that attributes don't change their value.

Inheritance Hierarchy

System..::Object
  System..::Attribute
    Spielwerke.Data..::DisplayLabelAttribute

See Also

Spielwerke.Data Namespace
[!:Spielwerke.Attributes.UI.DisplayLabelInstanceAttribute]