private void simpleButton1_Click(object sender, EventArgs e) { FileStream fs = new FileStream("test.xml", FileMode.Create); GridLayoutSerializer.SaveLayout(gridView1, fs); fs.Close(); }
public static void SaveLayout(ColumnView view, Stream stream) { GridLayoutSerializer serializer = new GridLayoutSerializer(); serializer.Serialize(stream, serializer.GetFilterProps(view), "View"); }