You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
822 B

namespace System
{
/// <summary>
/// 列显示格式信息
/// </summary>
public class ColumnShowFormat
{
public ColumnShowFormat(int index, int strLength, Alignment alignment)
{
Index = index;
StrLength = strLength;
Alignment = alignment;
}
/// <summary>
/// 索引,第几列数据
/// </summary>
public int Index { get; set; }
/// <summary>
/// 对其方式
/// </summary>
public Alignment Alignment { get; set; }
/// <summary>
/// 一列字符串长度
/// </summary>
public int StrLength { get; set; }
}
/// <summary>
/// 对其方式
/// </summary>
public enum Alignment
{
Left,
Right
}
}