Ejemplo n.º 1
0
 public StrategyDataItemInfo DataItem(string fieldName, Color color)
 {
     DataItemInfos.Add(new StrategyDataItemInfo()
     {
         FieldName = fieldName, Color = color
     });
     return(DataItemInfos.Last());
 }
Ejemplo n.º 2
0
 public StrategyDataItemInfo DataItem(string fieldName, Color color, int width)
 {
     DataItemInfos.Add(new StrategyDataItemInfo()
     {
         FieldName = fieldName, Color = color, GraphWidth = width
     });
     return(DataItemInfos.Last());
 }
Ejemplo n.º 3
0
 public StrategyDataItemInfo EnumItem(string fieldName)
 {
     DataItemInfos.Add(new StrategyDataItemInfo()
     {
         FieldName = fieldName, Visibility = DataVisibility.Table
     });
     return(DataItemInfos.Last());
 }
Ejemplo n.º 4
0
 public StrategyDataItemInfo DataItem(string fieldName, string formatString)
 {
     DataItemInfos.Add(new StrategyDataItemInfo()
     {
         FieldName = fieldName, FormatString = formatString
     });
     return(DataItemInfos.Last());
 }
Ejemplo n.º 5
0
 public StrategyDataItemInfo TimeItem(string fieldName)
 {
     DataItemInfos.Add(new StrategyDataItemInfo()
     {
         FieldName = fieldName, Visibility = DataVisibility.Table, Type = DataType.DateTime, FormatString = "dd.MM.yyyy hh:mm"
     });
     return(DataItemInfos.Last());
 }
 public void RegisterData(DataItemInfo info)
 {
     DataItemInfos.Add(info);
 }
 public void RegisterData(Type targetType, string dataName, string dataFieldName, params SortInfo[] sorts)
 {
     DataItemInfos.Add(new DataItemInfo(targetType, dataName, dataFieldName, sorts));
 }