如何固定gridview表头

来源:百度知道 编辑:UC知道 时间:2024/05/21 08:52:10

private FixRowCol _fixRowCol;
/**//// <summary>
/// 固定表头、指定行或指定列
/// </summary>
[
Description("固定表头、指定行或指定列"),
Category("扩展"),
DefaultValue(""),
DesignerSerializationVisibility(DesignerSerializationVisibility.Content),
PersistenceMode(PersistenceMode.InnerProperty)
]
public virtual FixRowCol FixRowCol
{
get
{
if (_fixRowCol == null)
{
_fixRowCol = new FixRowCol();
}
return _fixRowCol;
}
}

不知道是不是