/// <summary> /// 获取列 /// </summary> /// <param name="hiddenAttributes"></param> /// <param name="useDisplayName"></param> /// <returns></returns> public virtual DataGridViewColumn[] GetDataGridViewColumns(List <string> hiddenAttributes, bool useDisplayName = true, string [] orderedColNames = null) { return(DataGridViewUtil.BuildDataGridViewCols(ClassType, useDisplayName, hiddenAttributes, orderedColNames)); }
/// <summary> /// 获取列 /// </summary> /// <returns></returns> public virtual DataGridViewColumn[] GetDataGridViewColumns() { return(DataGridViewUtil.BuildDataGridViewCols(ClassType, UseDisplayName, HiddenAttributes)); }