Beispiel #1
0
        /// <summary>
        /// 根据内容自动设置column width(不包括DetailGrid)
        /// </summary>
        /// <param name="columns"></param>
        /// <returns></returns>
        public static int AutoAdjustColumnWidth(Xceed.Grid.Collections.ColumnList columns, int gridWidth)
        {
            int ret = GridUtils.ReCalculateColumnWidth(columns, m_maxColumnWidth, m_minColumnWidth, gridWidth);

            return(ret);
        }