Version

We recommend that you use the xamDataGrid control instead of the xamGrid control. The xamGrid is being planned for retirement over the next few years and will not receive any new features. We will continue to provide support and critical bug fixes for the xamGrid during this time. For help or questions on migrating your codebase to the xamDataGrid, please contact support.

Support for String Indexers

The xamGrid control allows you to use the string indexer syntax in the link:InfragisticsWPF.controls.grids.xamgrid~infragistics.controls.grids.column.html[Column] object’s link:InfragisticsWPF.controls.grids.xamgrid~infragistics.controls.grids.columnbase~key.html[Key] property to bind to values in objects, as demonstrated in the following code snippet.

In XAML:

<ig:TextColumn Key="[FirstName]" HeaderText="First Name"/>

This feature is also supported on ColumnLayout objects, as demonstrated in the following code snippet.

In XAML:

<ColumnLayout key=”[Test].Children”/>

Limitations:

  • Supports String and Integer indexers only.

  • All indexers should return a specific type, not object. Otherwise, filtering and summaries will not be supported; however the GroupBy and Sorting features will work. If the indexer does return an object, you won’t get the dot notation off it, such as ([Test].MyChildProp)