NanoXLSX.Core 3.0.0-rc.3
Loading...
Searching...
No Matches
NanoXLSX.Styles.AbstractStyle Class Referenceabstract

Class represents an abstract style component. More...

Inheritance diagram for NanoXLSX.Styles.AbstractStyle:

Public Member Functions

AbstractStyle Copy ()
 Abstract method to copy a component (dereferencing).
int CompareTo (AbstractStyle other)
 Method to compare two objects for sorting purpose.
bool Equals (AbstractStyle other)
 Method to compare two objects for sorting purpose.

Properties

int? InternalID [get, set]
 Gets or sets the internal ID for sorting purpose in the Excel style document (nullable).

Detailed Description

Class represents an abstract style component.

Definition at line 20 of file AbstractStyle.cs.

Member Function Documentation

◆ CompareTo()

int NanoXLSX.Styles.AbstractStyle.CompareTo ( AbstractStyle other)

Method to compare two objects for sorting purpose.

Parameters
otherOther object to compare with this object
Returns
-1 if the other object is bigger. 0 if both objects are equal. 1 if the other object is smaller.

Definition at line 89 of file AbstractStyle.cs.

◆ Copy()

AbstractStyle NanoXLSX.Styles.AbstractStyle.Copy ( )
abstract

Abstract method to copy a component (dereferencing).

Returns
Returns a copied component

◆ Equals()

bool NanoXLSX.Styles.AbstractStyle.Equals ( AbstractStyle other)

Method to compare two objects for sorting purpose.

Parameters
otherOther object to compare with this object
Returns
True if both objects are equal, otherwise false

Definition at line 110 of file AbstractStyle.cs.

Property Documentation

◆ InternalID

int? NanoXLSX.Styles.AbstractStyle.InternalID
getset

Gets or sets the internal ID for sorting purpose in the Excel style document (nullable).

Definition at line 26 of file AbstractStyle.cs.


The documentation for this class was generated from the following file: