DGV(GridContrel)设置固定列

//设置指定列固定
mzGridControl3.Grid.DisplayLayout.Bands[0].Columns[nameof(Person.Name)].Header.Fixed = true;
//设置所有用户列是否可以固定
mzGridControl3.Grid.DisplayLayout.Override.FixedHeaderIndicator = FixedHeaderIndicator.None;
//必须有这一行才有效
mzGridControl3.Grid.DisplayLayout.UseFixedHeaders = true;
原文地址:https://www.cnblogs.com/yuanshuo/p/13477336.html