Hierarchy settings
Namespace: Dapfor.Net.UiAssembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)
Syntax
C# |
---|
[TypeConverterAttribute("Dapfor.Net.Design.ExpandableConverter,Dapfor.Net.Design,Version=2.10.3.24917,Culture=neutral,PublicKeyToken=4427dced42249680")]
public sealed class GridHierarchy |
Visual Basic |
---|
<TypeConverterAttribute("Dapfor.Net.Design.ExpandableConverter,Dapfor.Net.Design,Version=2.10.3.24917,Culture=neutral,PublicKeyToken=4427dced42249680")>
Public NotInheritable Class GridHierarchy |
Visual C++ |
---|
[TypeConverterAttribute(L"Dapfor.Net.Design.ExpandableConverter,Dapfor.Net.Design,Version=2.10.3.24917,Culture=neutral,PublicKeyToken=4427dced42249680")]
public ref class GridHierarchy sealed |
F# |
---|
[<SealedAttribute>]
[<TypeConverterAttribute("Dapfor.Net.Design.ExpandableConverter,Dapfor.Net.Design,Version=2.10.3.24917,Culture=neutral,PublicKeyToken=4427dced42249680")>]
type GridHierarchy = class end |
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();
} |
Inheritance Hierarchy
Thread Safety
The class is not thread safe.
See Also