Beispiel #1
0
 public void AddColumn(string headerName, IDictionary<string, string> dicFieldName, HorizontalAlign hAlign, int pixel, ButtonType type)
 {
     ButtonTemplate buttonTemplate = new ButtonTemplate(dicFieldName);
     GridColumn column = new GridColumn(buttonTemplate);
     column.headerName = headerName;
     column.hAlign = HorizontalAlign.Center;
     column.unit = Unit.Pixel(pixel);
     column.type = FieldType.ButtonTemplate;
     columns.Add(column);
     AddToGridColumn(column);
 }
Beispiel #2
0
 public GridColumn(ButtonTemplate buttonTemplate)
 {
     _buttonTemplate = buttonTemplate;
 }