Class SpreadCellFormatBase
Base class encapsulating cell formatting facets (borders, fill, font, number format, alignment, text layout) with flags indicating which aspects are applied.
Inheritance
Inherited Members
Namespace: Telerik.Documents.SpreadsheetStreaming
Assembly: Telerik.Documents.SpreadsheetStreaming.dll
Syntax
public abstract class SpreadCellFormatBase
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
|
SpreadBorder
The bottom border. |
DiagonalDownBorder
Diagonal-down border (top‑left to bottom‑right) for crossed diagonal effects.
Declaration
public SpreadBorder DiagonalDownBorder { get; set; }
Property Value
|
SpreadBorder
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
|
SpreadBorder
The diagonal up border. |
Fill
Background fill (pattern or gradient) for the cell.
Declaration
public ISpreadFill Fill { get; set; }
Property Value
|
ISpreadFill
The fill. |
FontFamily
Font family (theme-based or explicit).
Declaration
public SpreadThemableFontFamily FontFamily { get; set; }
Property Value
|
SpreadThemableFontFamily
The font family. |
FontSize
Font size in points.
Declaration
public double? FontSize { get; set; }
Property Value
|
System.Nullable<System.Double>
The size of the font in points. |
ForeColor
Font (foreground) color.
Declaration
public SpreadThemableColor ForeColor { get; set; }
Property Value
|
SpreadThemableColor
The fore color. |
HorizontalAlignment
Horizontal alignment of the cell content.
Declaration
public SpreadHorizontalAlignment? HorizontalAlignment { get; set; }
Property Value
|
System.Nullable<SpreadHorizontalAlignment>
The horizontal alignment. |
Indent
Indentation level (number of indents) when left-aligned.
Declaration
public int? Indent { get; set; }
Property Value
|
System.Nullable<System.Int32>
The indent. |
IsBold
Indicates bold font weight.
Declaration
public bool? IsBold { get; set; }
Property Value
|
System.Nullable<System.Boolean>
The value indicating whether the text bold. |
IsItalic
Indicates italic font style.
Declaration
public bool? IsItalic { get; set; }
Property Value
|
System.Nullable<System.Boolean>
The value indicating whether the text italic. |
LeftBorder
Left border applied to the cell.
Declaration
public SpreadBorder LeftBorder { get; set; }
Property Value
|
SpreadBorder
The left border. |
NumberFormat
Number format code controlling rendering of numeric, date, and time values.
Declaration
public string NumberFormat { get; set; }
Property Value
|
System.String
The number format. |
RightBorder
Right border applied to the cell.
Declaration
public SpreadBorder RightBorder { get; set; }
Property Value
|
SpreadBorder
The right border. |
TopBorder
Top border applied to the cell.
Declaration
public SpreadBorder TopBorder { get; set; }
Property Value
|
SpreadBorder
The top border. |
Underline
Underline style applied to the text.
Declaration
public SpreadUnderlineType? Underline { get; set; }
Property Value
|
System.Nullable<SpreadUnderlineType>
The underline type. |
VerticalAlignment
Vertical alignment of the cell content.
Declaration
public SpreadVerticalAlignment? VerticalAlignment { get; set; }
Property Value
|
System.Nullable<SpreadVerticalAlignment>
The vertical alignment. |
WrapText
Indicates whether text wraps to multiple lines within the cell.
Declaration
public bool? WrapText { get; set; }
Property Value
|
System.Nullable<System.Boolean>
The value indicating if the text in a cell should be line-wrapped within the cell. |