93 lines
2.1 KiB
C#
93 lines
2.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.ComponentModel;
|
|
|
|
namespace WMS.Ctrl.CtrClass
|
|
{
|
|
public class ButtonColumns
|
|
{
|
|
string name;
|
|
|
|
[Description("名称")]
|
|
public string Name
|
|
{
|
|
get { return name; }
|
|
set
|
|
{
|
|
name = value;
|
|
}
|
|
}
|
|
string displayname;
|
|
[Category("列属性")]
|
|
[Description("Grid列显示名称")]
|
|
public string DisplayName
|
|
{
|
|
get
|
|
{
|
|
return displayname;
|
|
|
|
}
|
|
set
|
|
{
|
|
displayname = value;
|
|
}
|
|
}
|
|
|
|
string colname;
|
|
[Category("列属性")]
|
|
[Description("Grid列绑定字段")]
|
|
public string ColName
|
|
{
|
|
get { return colname; }
|
|
set { colname = value; }
|
|
}
|
|
|
|
string coltype;
|
|
[Category("列属性")]
|
|
[Description("Grid列类型")]
|
|
public string ColType
|
|
{
|
|
get { return coltype; }
|
|
set { coltype = value; }
|
|
}
|
|
|
|
string colformat;
|
|
[Category("列属性")]
|
|
[Description("Grid列格式化样式")]
|
|
public string ColFormat
|
|
{
|
|
get { return colformat; }
|
|
set { colformat = value; }
|
|
}
|
|
|
|
bool coldisplay;
|
|
[Category("列属性")]
|
|
[Description("Grid列是否显示")]
|
|
public bool ColDisplay
|
|
{
|
|
get { return coldisplay; }
|
|
set { coldisplay = value; }
|
|
}
|
|
|
|
bool colishide;
|
|
[Category("列属性")]
|
|
[Description("Grid列是否隐藏")]
|
|
public bool ColIsHide
|
|
{
|
|
get { return colishide; }
|
|
set { colishide = value; }
|
|
}
|
|
|
|
bool colisreturn;
|
|
[Category("列属性")]
|
|
[Description("Grid列是否返回")]
|
|
public bool ColIsReturn
|
|
{
|
|
get { return colisreturn; }
|
|
set { colisreturn = value; }
|
|
}
|
|
}
|
|
}
|