Class ListTableRows
Collection of ListTableRows.
List of valid category types
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.dll
Syntax
public class ListTableRows : TableRowsBase, INestedPersist, IEnumerable<INestedPersist>, ISoCollection, INotifyCollectionChanged, IBindingList, IList, ICollection, IEnumerable
Properties
this[int]
Get a TableRow given its' index in the collection.
Declaration
public ListTableRow this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
int | index | Index of the TableRow in the collection |
Property Value
Type | Description |
---|---|
ListTableRow |
Methods
Add(ListTableRow)
Add one TableRow to the collection.
Declaration
public int Add(ListTableRow row)
Parameters
Type | Name | Description |
---|---|---|
ListTableRow | row | An instance of TableRow to be added to the collection. |
Returns
Type | Description |
---|---|
int | The index of the added TableRow. |
AddNew()
Add a new instance of TableRow added to the collection.
Declaration
public ListTableRow AddNew()
Returns
Type | Description |
---|---|
ListTableRow | A new instance of TableRow added to the collection. |
CreateChild()
Create a new instance of TableRow
Declaration
protected override TableRowBase CreateChild()
Returns
Type | Description |
---|---|
TableRowBase | New instance of TableRow |
Overrides
CreateNew()
Create a new instance of the TableRows object.
Declaration
public static ListTableRows CreateNew()
Returns
Type | Description |
---|---|
ListTableRows | A new instance of the TableRows object. |
MakeUniqueById()
Collection of ListTableRows.
List of valid category types
Declaration
public void MakeUniqueById()
Remove(ListTableRow)
Removes the given TableRow from the collection
Declaration
public void Remove(ListTableRow row)
Parameters
Type | Name | Description |
---|---|---|
ListTableRow | row | the TableRow to be removed |
SortByCustom(IComparer)
Sort the inner list using a custom comparer.
Declaration
public void SortByCustom(IComparer customSorter)
Parameters
Type | Name | Description |
---|---|---|
IComparer | customSorter |
Remarks
SortByName()
Sort the iunner list using hte ListTableRows.ListNameSorter sorter.
Declaration
public void SortByName()
SortByRank()
Sort the inner list by rank using the ListTableRows.ListRankSorter
Declaration
public void SortByRank()