Gets the hierarchy settings.
Namespace: Dapfor.Net.UiAssembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)
Syntax
C# |
---|
public Grid..::..GridHierarchy Hierarchy { get; } |
Visual Basic |
---|
Public ReadOnly Property Hierarchy As Grid..::..GridHierarchy
Get |
Visual C++ |
---|
public:
property Grid..::..GridHierarchy^ Hierarchy {
Grid..::..GridHierarchy^ get ();
} |
F# |
---|
member Hierarchy : Grid..::..GridHierarchy with get
|
Property Value
Type:
Grid..::..GridHierarchyThe hierarchy settings.
Examples
| Copy |
---|
public void ConfigureGrid(Grid grid)
{
grid.Headers.Add(new Header());
grid.Headers.Add(new Header());
grid.Headers[0].Add(new Column("Quantity"));
grid.Headers[0].Add(new Column("Price"));
grid.Headers[1].Add(new Column("Name"));
grid.Hierarchy.ButtonBehaviour = ExpansionButtonBehaviour.ShowAlways;
grid.Hierarchy.ButtonWidth = 15;
grid.Hierarchy.EnableHierarchicalLines = true;
Row row = grid.Rows.Add(new Product());
row.Add(new Customer());
row.Add(new Customer());
row.ExpandAll();
} |
See Also