SpreadCellFormatBase
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
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.
protected SpreadCellFormatBase()
Properties
Bottom border applied to the cell.
public SpreadBorder BottomBorder { get; set; }
The bottom border.
Diagonal-down border (top‑left to bottom‑right) for crossed diagonal effects.
public SpreadBorder DiagonalDownBorder { get; set; }
The diagonal down border.
Diagonal-up border (bottom‑left to top‑right) for crossed diagonal effects.
public SpreadBorder DiagonalUpBorder { get; set; }
The diagonal up border.
Background fill (pattern or gradient) for the cell.
public ISpreadFill Fill { get; set; }
The fill.
Font family (theme-based or explicit).
public SpreadThemableFontFamily FontFamily { get; set; }
The font family.
Font size in points.
public double? FontSize { get; set; }
The size of the font in points.
Font (foreground) color.
public SpreadThemableColor ForeColor { get; set; }
The fore color.
Horizontal alignment of the cell content.
public SpreadHorizontalAlignment? HorizontalAlignment { get; set; }
The horizontal alignment.
Indentation level (number of indents) when left-aligned.
public int? Indent { get; set; }
The indent.
Indicates bold font weight.
public bool? IsBold { get; set; }
The value indicating whether the text bold.
Indicates italic font style.
public bool? IsItalic { get; set; }
The value indicating whether the text italic.
Left border applied to the cell.
public SpreadBorder LeftBorder { get; set; }
The left border.
Number format code controlling rendering of numeric, date, and time values.
public string NumberFormat { get; set; }
The number format.
Right border applied to the cell.
public SpreadBorder RightBorder { get; set; }
The right border.
Top border applied to the cell.
public SpreadBorder TopBorder { get; set; }
The top border.
Underline style applied to the text.
public SpreadUnderlineType? Underline { get; set; }
The underline type.
Vertical alignment of the cell content.
public SpreadVerticalAlignment? VerticalAlignment { get; set; }
The vertical alignment.