public void Add(string title, params DataField[] fields) { ListViewColumn col = new ListViewColumn(title); foreach (var f in fields) { col.Views.Add(CellView.GetDefaultCellView(f)); } Add(col); }
public ListViewColumn Add(string title, params IDataField[] fields) { ListViewColumn col = new ListViewColumn(title); foreach (var f in fields) { col.Views.Add(CellView.GetDefaultCellView(f)); } base.Add(col); return(col); }
public ListViewColumn(string title, CellView cellView) : this() { Title = title; Views.Add(cellView); }
public Rectangle GetCellBounds(int row, CellView cell, bool includeMargin) { return(Backend.GetCellBounds(row, cell, includeMargin)); }
/// <summary> /// Focuses and starts editing a cell, so the user can start interacting with it /// </summary> /// <param name="row">Row</param> /// <param name="cell">Cell to edit</param> public void StartEditingCell(int row, CellView cell) { Backend.StartEditingCell(row, cell); }
/// <summary> /// Gets the bounds of a cell inside the row at the given position. /// </summary> /// <returns>The cell bounds inside the widget, relative to the widget bounds.</returns> /// <param name="pos">The node position.</param> /// <param name="cell">The cell view.</param> /// <param name="includeMargin">If set to <c>true</c> include margin (the background of the row).</param> public Rectangle GetCellBounds(TreePosition pos, CellView cell, bool includeMargin) { return(Backend.GetCellBounds(pos, cell, includeMargin)); }
public ListViewColumn(string title, CellView cellView) : this() { Title = title; Views.Add (cellView); }