Add this attribute to your data interface to select what property should be used as label when enumerating data.

Namespace: Composite.Data
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public sealed class LabelPropertyNameAttribute : Attribute
Visual Basic
Public NotInheritable Class LabelPropertyNameAttribute _
	Inherits Attribute
Visual C++
public ref class LabelPropertyNameAttribute sealed : public Attribute

Examples

This sample shows how to use the LabelPropertyName attribute.
CopyC#
[LabelPropertyName("Title")]
// (other IData attributes)
interface IMyDataType : IData
{
    string Title { get; set; }

    // other data type properties
}

Inheritance Hierarchy

System..::..Object
  System..::..Attribute
    Composite.Data..::..LabelPropertyNameAttribute

See Also