Click or drag to resize

XlsStylesCollection ContainsSameStyle Method

Determines whether the current object contains the same style as the specified style.

Namespace: Spire.Xls.Core.Spreadsheet.Collections
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
protected IStyle ContainsSameStyle(
	IStyle style
)

Parameters

style
Type: Spire.Xls.Core IStyle
The style to compare with the current object.

Return Value

Type: IStyle
The style if it matches the current object's style, otherwise null.
See Also