Hi
I've seen posts regarding this from 2009 - has a FieldResize event been added yet?
Thanks
HI,
You can wire up the Field's PropertyChanged Event.
then inside the event check out the e.propertyname field.
xamDataGrid1.FieldLayouts[0].Fields[0].PropertyChanged +=
new PropertyChangedEventHandler(MainWindow_PropertyChanged);
void MainWindow_PropertyChanged(object sender, PropertyChangedEventArgs e)
{
//throw new NotImplementedException();
MessageBox.Show(e.PropertyName);
You will see LabelWithResolved and CellWidthRsolved names.
Down side is this might fire often.
Sincerely.
MattDeveloper Support Engineer
I have tried this, but there appears to be a bug:
User effected changes to the column widths of the grid are intermittently recorded - the first reduction in size after a "direction change" does not get picked up:
Paul
Is anyone able to confirm if this is a bug and needs to be raised as such?
thanks
I was unable to reproduce, can you provide a small sample application? Sincerely, Matt Developer Support Engineer