ClassSpreadCellFormatBase
Base class encapsulating cell formatting facets (borders, fill, font, number format, alignment, text layout) with flags indicating which aspects are applied.
Definition
Namespace:Telerik.Documents.SpreadsheetStreaming
Assembly:Telerik.Documents.SpreadsheetStreaming.dll
Syntax:
public abstract class SpreadCellFormatBase
Inheritance: objectSpreadCellFormatBase
Derived Classes:
Constructors
SpreadCellFormatBase()
Initializes a new instance of the SpreadCellFormatBase class. All formatting-related properties and apply flags are unset by default; set individual properties (e.g., borders, fill, font, alignment, number format) to opt-in specific styling.
Declaration
protected SpreadCellFormatBase()
Properties
BottomBorder
Bottom border applied to the cell.
Declaration
public SpreadBorder BottomBorder { get; set; }
Property Value
The bottom border.
DiagonalDownBorder
Diagonal-down border (top‑left to bottom‑right) for crossed diagonal effects.
Declaration
public SpreadBorder DiagonalDownBorder { get; set; }
Property Value
The diagonal down border.
DiagonalUpBorder
Diagonal-up border (bottom‑left to top‑right) for crossed diagonal effects.
Declaration
public SpreadBorder DiagonalUpBorder { get; set; }
Property Value
The diagonal up border.
Fill
Background fill (pattern or gradient) for the cell.
Declaration
public ISpreadFill Fill { get; set; }
Property Value
The fill.
FontFamily
Font family (theme-based or explicit).
Declaration
public SpreadThemableFontFamily FontFamily { get; set; }
Property Value
The font family.
FontSize
Font size in points.
Declaration
public double? FontSize { get; set; }
Property Value
The size of the font in points.
ForeColor
Font (foreground) color.
Declaration
public SpreadThemableColor ForeColor { get; set; }
Property Value
The fore color.
HorizontalAlignment
Horizontal alignment of the cell content.
Declaration
public SpreadHorizontalAlignment? HorizontalAlignment { get; set; }
Property Value
The horizontal alignment.
Indent
Indentation level (number of indents) when left-aligned.
IsBold
Indicates bold font weight.
Declaration
public bool? IsBold { get; set; }
Property Value
bool?
The value indicating whether the text bold.
IsItalic
Indicates italic font style.
Declaration
public bool? IsItalic { get; set; }
Property Value
bool?
The value indicating whether the text italic.
LeftBorder
Left border applied to the cell.
Declaration
public SpreadBorder LeftBorder { get; set; }
Property Value
The left border.
NumberFormat
Number format code controlling rendering of numeric, date, and time values.
Declaration
public string NumberFormat { get; set; }
Property Value
The number format.
RightBorder
Right border applied to the cell.
Declaration
public SpreadBorder RightBorder { get; set; }
Property Value
The right border.
TopBorder
Top border applied to the cell.
Declaration
public SpreadBorder TopBorder { get; set; }
Property Value
The top border.
Underline
Underline style applied to the text.
Declaration
public SpreadUnderlineType? Underline { get; set; }
Property Value
The underline type.
VerticalAlignment
Vertical alignment of the cell content.
Declaration
public SpreadVerticalAlignment? VerticalAlignment { get; set; }
Property Value
The vertical alignment.