How to Access All DisplayElements or a Particular DisplayElement in GridGrouping Control

3 Jan 2020 / 1 minute to read

You can access DisplayElements by using the following code.

//Accesses all the display elements.
foreach (Element el in gridGroupingControl1.Table.DisplayElements)
{
    Console.WriteLine(el.Info);
}

//Accesses a particular display element.
Console.WriteLine(this.gridGroupingControl1.Table.DisplayElements[index].Info);
'Accesses all the display element.
For Each el As Element In Me.gridGroupingControl1.Table.DisplayElements
    Console.WriteLine(el.Info)
Next el

'Accesses a particular display element.
Console.WriteLine(Me.gridGroupingControl1.Table.DisplayElements(index).Info)