Version

Please note that this control has been retired and is now obsolete to the XamDataGrid control, and as such, we recommend migrating to that control. It will not be receiving any new features, bug fixes, or support going forward. 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)