Click or drag to resize
NanoXLSX

AbstractStyleCompareTo Method

Method to compare two objects for sorting purpose

Namespace: NanoXLSX.Styles
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.5+4f4b44a718a20dda8ca2c0c4d00bd7eee7c80f5d
Syntax
C#
public int CompareTo(
	AbstractStyle other
)

Parameters

other  AbstractStyle
Other object to compare with this object

Return Value

Int32
-1 if the other object is bigger. 0 if both objects are equal. 1 if the other object is smaller.

Implements

IComparableTCompareTo(T)
See Also