MasstransferExporter/MasstransferCommon/Model/Atrributes/Property.cs

30 lines
657 B
C#
Raw Normal View History

2024-07-12 08:11:27 +00:00
namespace MasstransferCommon.Model.Atrributes;
[AttributeUsage(AttributeTargets.Property)]
public class Property : Attribute
{
public bool IsReadOnly { get; set; } = false;
// 字符串格式
public string? Format { get; set; }
// 显示控件的宽
public double Width { get; set; }
// 显示控件的高
public double Height { get; set; }
public double Max { get; set; }
public double Min { get; set; }
public string Group { get; set; }
public bool IsPassword { get; set; }
public string Variable { get; set; }
public int Axis { get; set; } = -1;
public int Index { get; set; } = -1;
}