Click or drag to resize

ExcelCell Class

Excel cell provides access to a single worksheet cell or to a merged range if the cell is merged.
Inheritance Hierarchy
SystemObject
  SautinSoft.ExcelExcelRange
    SautinSoft.ExcelExcelCell

Namespace: SautinSoft.Excel
Assembly: SautinSoft.Excel (in SautinSoft.Excel.dll) Version: 2025.2.6
Syntax
public sealed class ExcelCell : ExcelRange

The ExcelCell type exposes the following members.

Properties
 NameDescription
Public propertyComment Gets or sets cell comment.
(Overrides ExcelRangeComment)
Public propertyFormula Gets or sets cell formula string.
(Overrides ExcelRangeFormula)
Public propertyHyperlink Gets or sets cell hyperlink.
Public propertyIsStyleDefault Returns true if style is default; otherwise, false.
(Overrides ExcelRangeIsStyleDefault)
Public propertyMergedRange Gets associated merged range if the cell is merged; otherwise, null.
Public propertyPosition Gets the position of the cell on the Excel sheet.
Public propertyStyle Gets or sets cell style of this cell or of merged range.
(Overrides ExcelRangeStyle)
Public propertyValue Gets or sets the value of this cell or the merged range.
(Overrides ExcelRangeValue)
Top
Methods
 NameDescription
Public methodStatic memberConvertNumberToDateTime Converts floating number to DateTime structure.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodSetBorders Sets the color and style of the lines to a specific set of borders.
(Overrides ExcelRangeSetBorders(MultipleBorders, SKColor, LineStyle))
Public methodStatic memberSupportsType Gets a value indicating whether the objects of specified type can be assigned to ExcelCell.Value.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
Merged range is created by using CellRange.Merged.
See Also