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.
The xamGrid™ control displays columns based on the property’s data type in the underlying data source. For example, if the data source contains two properties of type Boolean and String, the corresponding columns will be a checkbox column and text column. The following table displays the available column types.
Auto Generate Columns
The appropriate type of column is automatically generated for each publicly exposed property in the data source if xamGrid’s AutoGenerateColumns property is set to True. If you define columns for xamGrid, it will use these columns if the column’s Key property matches the name of a public property in the data source; otherwise, it will auto-generate the columns that do not match. You can turn this feature off and define your own columns if you want total control of what xamGrid displays. For more information on this, see Define Column Layout.
Custom Column Type Mapping
When the default creation of a column for a particular data type does not fit your application’s needs, you can change the column mapping to create a different column type. You can do this by using the ColumnTypeMapping object to assign a column type to use with a data type. For more information on this, see Change Column Type Mapping.