I have been looking into your question. XamGrid and XamDataGrid have some different features and because of that, there is no one to one mapping between their properties and events. There is no automatic converter and my suggestion is to do that manually. Please be careful with reusing code since in some situations it's possible to add more complexity than needed. Useful help topics I could recommend you:
1. XamDataGrid Migration Guide 2. Differences Between xamGrid and xamDataGrid
Please take a look into them and let me know if I may be of any further assistance.
Sincerely, Teodosia Hristodorova Associate Software Developer
We know the differences, we only wanted to search a solution to convert easily the XamGrid customization (Settings - Column visibility, size, order) to XamDataGrid field customization, because for our customer is an important thing to have the same view of columns/fields after our migration.
XamGrid and XamDataGrid are two separate controls with difference in the architecture and features. There is no straight forward way for coverting the code for XamGrid to XamDataGrid. Keeping in mind that there are differences with the implementation in both controls and using our documentation as a help, you should be able to achieve the same look and feel with XamDataGrid as with XamGrid.
For example you could read through the following links about field's width in XamDataGrid and column's width in XamGrid and see what changes should be implementing for the converion. If somewhere along the migration process you have difficulties or questions, you could contact us and we would be glad to help you to achieve your requirement.
If you require any further assistance on the matter, please let me know.
Yes we know the 2 controls are not the same, only we thought, that you have a solution or also other customers asked for this.
In this way we will search ourselves somehow to convert the customization.
We would be glad to help you if you have questions through the migration process.
Sincerely,Teodosia HristodorovaAssociate Software Developer