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, IEnumerable, IList, ICollection, INotifyCollectionChanged, IBindingList
Properties
Item[Int32]
Get a TableRow given its' index in the collection.
Declaration
public ListTableRow this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | 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 |
---|---|
System.Int32 | 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()
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 |
---|---|---|
System.Collections.IComparer | customSorter |
Remarks
The custom comparer is passed along to the inner list (i.e. System.Collections.ArrayList) Sort().
SortByName()
Sort the iunner list using hte SuperOffice.CRM.Lists.ListTableRows.ListNameSorter sorter.
Declaration
public void SortByName()
SortByRank()
Sort the inner list by rank using the SuperOffice.CRM.Lists.ListTableRows.ListRankSorter
Declaration
public void SortByRank()