skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class SpreadCellFormatBase

Base class encapsulating cell formatting facets (borders, fill, font, number format, alignment, text layout) with flags indicating which aspects are applied.

Inheritance
System.Object
SpreadCellFormatBase
SpreadCellFormat
SpreadCellStyle
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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.

Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.