You can group columns on master (master of masters, etc.). For this AGE is the Grouping property.
public class Grouping
{
/// <summary>
/// Hide empty groups (without objects)
/// </summary>
public bool HideEmptyGroups { get; set; }
/// <summary>
/// Sort group
/// </summary>
public ColumnsSortDef MasterColSortDef
/// <summary>
/// The name of the master (not the property of the master)
/// </summary>
public string MasterName
/// <summary>
/// Property name in the wizard that will appear in the group header
/// </summary>
public string MasterCaptionProp
/// <summary>
/// Limit on group
/// </summary>
public Function MasterLimitFunction
/// <summary>
/// Representation which will be read group
/// </summary>
public View MasterView
}
Example (gang wizard “Tiplady” as the group header will be used Tiplady.Name):
ctrlЛапа.Group =
new Grouping(
new ColumnsSortDef(Information.ExtractPropertyPath<Лапа>(x => x.ТипЛапы.Название), SortOrder.Desc));