30 lines
657 B
C#
30 lines
657 B
C#
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;
|
|
} |