Indicates that an object or a collection of objects returned by the property should be added to the grid as children of the current data object

Namespace: Dapfor.Net.Data
Assembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)

Syntax

C#
public class HierarchicalFieldAttribute : Attribute
Visual Basic
Public Class HierarchicalFieldAttribute
	Inherits Attribute
Visual C++
public ref class HierarchicalFieldAttribute : public Attribute
F#
type HierarchicalFieldAttribute =  
    class
        inherit Attribute
    end

Remarks

Data objects containing hierarchical fields allows the grid to build a hierarchy:

Examples

 Copy imageCopy
public class Strategy
{
    ...

    [HierarchicalField]
    public IList<Order> Orders
    {
        get { return _orders; }
    }

    ...
}

Inheritance Hierarchy

System..::..Object
  System..::..Attribute
    Dapfor.Net.Data..::..HierarchicalFieldAttribute

See Also