Style.CellXf Class

PicoXLSX

PicoXLSX

StyleCellXf Class

Class representing an XF entry. The XF entry is used to make reference to other style instances like Border or Fill and for the positioning of the cell content
Inheritance Hierarchy
SystemObject  PicoXLSXAbstractStyle
    PicoXLSXStyleCellXf

Namespace:  PicoXLSX
Assembly:  PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)
Syntax
C#
public class CellXf : AbstractStyle

The StyleCellXf type exposes the following members.

Constructors
  NameDescription
Public methodStyleCellXf
Default constructor
Top
Properties
  NameDescription
Public propertyAlignment
Gets or sets the text break options of the style
Public propertyForceApplyAlignment
Gets or sets whether the applyAlignment property (used to merge cells) will be defined in the XF entry of the style. If true, applyAlignment will be defined
Public propertyHash
Gets the unique hash of the object
(Inherited from AbstractStyle.)
Public propertyHidden
Gets or sets whether the hidden property (used for protection or hiding of cells) will be defined in the XF entry of the style. If true, hidden will be defined
Public propertyHorizontalAlign
Gets or sets the horizontal alignment of the style
Public propertyInternalID
Gets or sets the internal ID for sorting purpose in the Excel style document (nullable)
(Inherited from AbstractStyle.)
Public propertyLocked
Gets or sets whether the locked property (used for locking / protection of cells or worksheets) will be defined in the XF entry of the style. If true, locked will be defined
Public propertyTextDirection
Gets or sets the direction of the text within the cell
Public propertyTextRotation
Gets or sets the text rotation in degrees (from +90 to -90)
Public propertyVerticalAlign
Gets or sets the vertical alignment of the style
Top
Methods
  NameDescription
Public methodCalculateHash
Override method to calculate the hash of this component (internal method)
(Overrides AbstractStyleCalculateHash.)
Public methodCalculateInternalRotation
Method to calculate the internal text rotation. The text direction and rotation are handled internally by the text rotation value
Public methodCompareTo
Method to compare two objects for sorting purpose
(Inherited from AbstractStyle.)
Public methodCopy
Method to copy the current object to a new one without casting
(Overrides AbstractStyleCopy.)
Public methodCopyCellXf
Method to copy the current object to a new one with casting
Protected methodCopyPropertiesT
Internal method to copy altered properties from a source object. The decision whether a property is copied is dependent on a untouched reference object
(Inherited from AbstractStyle.)
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodEquals(AbstractStyle)
Method to compare two objects for sorting purpose
(Inherited from AbstractStyle.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Override toString method
(Overrides ObjectToString.)
Top
See Also