ListEditItemCollectionBase.IndexOfTextWithTrim(String) Method
Removes all leading and trailing white-space characters from the passed string and searches for the first occurrence of the item with the identical value in the collection.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v25.1.dll
NuGet Package: DevExpress.Web
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| text | String | A String value that is the display text of the item which is to be located in the collection. |
Returns
| Type | Description |
|---|---|
| Int32 | The zero-based index of the first occurrence of the specified item within the collection, if found; otherwise negative one (-1). |
See Also