StyleCollection.Contains(String) Method
Indicates whether the collection contains the style under the specified name.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v25.1.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| name | String | A String value that specifies the name of the style to locate in the collection. |
Returns
| Type | Description |
|---|---|
| Boolean | true, if the collection contains the style under the specified name; otherwise, false. |
Remarks
Cell styles have unique names in the collection. To check whether a style under the specified name already exists in the collection, use the Contains method.
See Also