public int Add(string name, LegendCellType cellType, string text, ContentAlignment alignment) { LegendCell legendCell = new LegendCell(cellType, text, alignment); legendCell.Name = name; return(base.List.Add(legendCell)); }
private LegendCell CreateNewLegendCell(LegendCellType cellType, System.Drawing.Font cellFont, string text, System.Drawing.ContentAlignment cellAlignment) { LegendCell legendCell = new LegendCell(); legendCell.CellType = cellType; legendCell.Font = cellFont; legendCell.Text = text; legendCell.Alignment = cellAlignment; legendCell.ToolTip = Resources.lang.ChartZoomFeature; return(legendCell); }
private void Intitialize(LegendCellType cellType, string text, ContentAlignment alignment) { this.cellType = cellType; if (this.cellType == LegendCellType.Image) { this.image = text; } else { this.text = text; } this.alignment = alignment; }
public void Insert(int index, LegendCellType cellType, string text, ContentAlignment alignment) { throw new NotImplementedException(); }
public int Add(LegendCellType cellType, string text, ContentAlignment alignment) { throw new NotImplementedException(); }
public LegendCell (LegendCellType cellType, string text, ContentAlignment alignment) { }
public LegendCell (LegendCellType cellType, string text) { }
public void Insert(int index, LegendCellType cellType, string text, ContentAlignment alignment) { base.List.Insert(index, new LegendCell(cellType, text, alignment)); }
public int Add(LegendCellType cellType, string text, ContentAlignment alignment) { return(base.List.Add(new LegendCell(cellType, text, alignment))); }
public LegendCell(LegendCellType cellType, string text, ContentAlignment alignment) { }
public LegendCell(LegendCellType cellType, string text) { }
LegendCell getLegCell(string text, Color col, string cellName, string image, string postback, LegendCellType cellType, string tooltip) { return(new LegendCell { ForeColor = col, Text = text, Image = image, PostBackValue = postback, CellType = cellType, Margins = { Left = 5, Right = 5 }, ToolTip = tooltip }); }
public LegendCell(LegendCellType cellType, string text, ContentAlignment alignment) { this.Intitialize(cellType, text, alignment); }
public LegendCell(LegendCellType cellType, string text) { this.Intitialize(cellType, text, ContentAlignment.MiddleCenter); }
public LegendCell(LegendCellType cellType, string text, ContentAlignment alignment) : base(null) { Intitialize(cellType, text, alignment); }