Row
Represents a base row of the List View
Namespace: LSOne.Controls.Rows
Assembly: LSOne.Controls.ListView
Syntax
public class Row
Constructors
Name | Description |
---|---|
Row() | Default constructor. Initializes a new instance of the Row class |
Properties
Name | Description |
---|---|
BackColor | Gets or sets the background color of the row |
CellCount | Gets the total number of cells |
Height | Gets or sets the row height |
LockLeft | Gets or sets if the row will not scroll horizontally |
PopulatedCellCount | Gets the number of cells in the row which are not null |
Tag | Gets or sets the object that contains data about the control |
this[uint] | Gets or sets the Cell at the given cell index |
Methods
Name | Description |
---|---|
AddCell(LSOne.Controls.Cells.Cell) | Adds a new Cell to the row |
AddText(string) | Adds a new Cell with the given text to the row |
Clear() | Removes all cells from the row |
WritableCell(uint) | Gets the cell with the given index. If index is larger than the current number of cells, null cells are added. |
Remarks
Base class for:
Examples
See Source\SM\Plugins\GiftCards\Views\GiftCardsView.cs from DevPack for usage examples.