According to the doc, the field moving choice can be changed on both grid level and field level. The example in sample feature browser and the doc show how to do it at control level. I couldn't find how to do it on individual field level. I tried many things but cannot find how to set the field layout settings on a field layout. Please help.
HI,
You could wire up the FieldPositionChanging event and cancel it for certain fields.
here is a code snippet:
void dpresenter1_FieldPositionChanging(object sender, Infragistics.Windows.DataPresenter.Events.FieldPositionChangingEventArgs e) { // throw new NotImplementedException(); if (e.Field.Name == "Age") e.Cancel = true;
}
Sincerely,
Matt DSE