I have created a window includ a XamDataGrid control, In Setting section I set the CellWidth to 80,While in run time I move the mouse on xamgrid's column header to change it width. How can I find the field's actually width?
wow I find the way.
DefaultFieldLayout.Fields[0].CellWidthResolved;
field.CellWidthResolved and field.Settings.CellWidth are both fixedness value, I mean those are not change when running time you changed column width.
So I want get the ACTUAL width of the fields.
{
FieldCollection fc = layout.Fields;
CurrentCellWidth = field.CellWidthResolved;
else
CurrentCellWidth = field.Settings.CellWidth;
}