New to WPF, I guest UltraWinGrid is totally different from xamDatagrid. I have some questions.
1. How do you get/set the cell values in xamDatagrid (programmatically) ?
2. How do you set the style of a particular cell? e.g combobox, button, calendar and etc (programmatically).
3. Is their a document to help transition from UltraWingrid to xamDatagrid?
Thanks a lot.
Hello Rodney,
To get/set the cell value is within the DataRecord. E.g.:
DataRecord dataRecord = (DataRecord)xamDataGrid1.Records[0];Cell cell = dataRecord.Cells[0];cell.Value = "new cell value";
As for styling a combobox that is in a cell this can be done by setting the EditorStyle property in FieldSettings.
I have attached a sample.
In the features browser there are examples that helps when migrating from ultraWinGrid to xamDataGrid. Also both controls can databind using the same type such as an ObservableCollection. As far as differences in the migration is platform specific.