Jump to content
Software FX Community

Readonly Header on DataGrid


Marc

Recommended Posts

You can not make the DataGrid only partially read-only, however you can capture the DataChangedByUser vent and ignore changes to part of the data. For example:

private void chart1_DataChangedByUser (object sender,PointLabelEventArgs e) {

  if (e.Axis == chart1.AxisX)   e.Handled = true;

}

Will ignore changes to the X-Values

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...