Assign this to properties on your IData interfaces to control default ordering of tree items.

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

Syntax

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

Examples

This sample shows how to use the TreeOrdering attribute.
CopyC#
// data interface attributes ...
interface IMyDataType : IData
{
    [TreeOrdering(1)]
    [StoreFieldType(PhysicalStoreFieldType.String, 40)]
    [ImmutableFieldId("{D75EA67F-AD14-4BAB-8547-6D87002809F1}")]
    string ProductName { get; set; }

    // more data properties ...

}

Inheritance Hierarchy

System..::..Object
  System..::..Attribute
    Composite.Data..::..TreeOrderingAttribute

See Also