Cell |
public class CellXf : AbstractStyle
The CellXf type exposes the following members.
| 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 | |
| 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 | |
| Indent | Gets or sets the indentation in case of left, right or distributed alignment. If 0, no alignment is applied | |
| 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 | |
|---|---|---|
| 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(AbstractStyle) |
Method to compare two objects for sorting purpose
(Inherited from AbstractStyle) | |
| Equals(Object) |
Returns whether two instances are the same
(Overrides ObjectEquals(Object)) | |
| 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 |
Returns a hash code for this instance.
(Overrides ObjectGetHashCode) | |
| 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) |
| Name | Description | |
|---|---|---|
| DEFAULT_ALIGNMENT | Default text break value as constant | |
| DEFAULT_HORIZONTAL_ALIGNMENT | Default horizontal align value as constant | |
| DEFAULT_TEXT_DIRECTION | Default text direction value as constant | |
| DEFAULT_VERTICAL_ALIGNMENT | Default vertical align value as constant |