PicoXLSX Library Documentation
![]() | 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

Namespace: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)

C#
public class CellXf : AbstractStyle
The StyleCellXf type exposes the following members.

Name | Description | |
---|---|---|
![]() | StyleCellXf |
Default constructor
|

Name | Description | |
---|---|---|
![]() | Alignment |
Gets or sets the text break options of the style
|
![]() | ForceApplyAlignment |
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
|
![]() | Hash |
Gets the unique hash of the object
(Inherited from AbstractStyle.) |
![]() | Hidden |
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
|
![]() | HorizontalAlign |
Gets or sets the horizontal alignment of the style
|
![]() | InternalID |
Gets or sets the internal ID for sorting purpose in the Excel style document (nullable)
(Inherited from AbstractStyle.) |
![]() | Locked |
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
|
![]() | TextDirection |
Gets or sets the direction of the text within the cell
|
![]() | TextRotation |
Gets or sets the text rotation in degrees (from +90 to -90)
|
![]() | VerticalAlign |
Gets or sets the vertical alignment of the style
|

Name | Description | |
---|---|---|
![]() | CalculateHash |
Override method to calculate the hash of this component (internal method)
(Overrides AbstractStyleCalculateHash.) |
![]() | CalculateInternalRotation |
Method to calculate the internal text rotation. The text direction and rotation are handled internally by the text rotation value
|
![]() | CompareTo |
Method to compare two objects for sorting purpose
(Inherited from AbstractStyle.) |
![]() | Copy |
Method to copy the current object to a new one without casting
(Overrides AbstractStyleCopy.) |
![]() | CopyCellXf |
Method to copy the current object to a new one with casting
|
![]() | CopyPropertiesT |
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.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Equals(AbstractStyle) |
Method to compare two objects for sorting purpose
(Inherited from AbstractStyle.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString |
Override toString method
(Overrides ObjectToString.) |
