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 SpreadsheetDefaultValues

Provides constants defining default dimensions, limits, and styling for spreadsheet elements.

Inheritance
System.Object
SpreadsheetDefaultValues
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.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll

Syntax

public static class SpreadsheetDefaultValues

Fields

CellCount

The total number of cells in a worksheet (rows × columns).

Declaration
public static readonly long CellCount
Field Value
System.Int64

ColumnCount

The maximum number of columns in a worksheet (16,384).

Declaration
public static readonly int ColumnCount
Field Value
System.Int32

DefaultColumnWidth

The default width of columns in device-independent pixels.

Declaration
public static readonly double DefaultColumnWidth
Field Value
System.Double

DefaultFontFamily

The default font family for cell text, referencing the theme's minor font.

Declaration
public static readonly ThemableFontFamily DefaultFontFamily
Field Value
ThemableFontFamily

DefaultFontSize

The default font size in device-independent pixels.

Declaration
public static readonly double DefaultFontSize
Field Value
System.Double

DefaultFontSizeInPoints

The default font size in typographic points.

Declaration
public static readonly double DefaultFontSizeInPoints
Field Value
System.Double

DefaultForeColor

The default color for cell text content, referencing the theme's Text1 color.

Declaration
public static readonly ThemableColor DefaultForeColor
Field Value
ThemableColor

DefaultRowHeight

The default height of rows in device-independent pixels.

Declaration
public static readonly double DefaultRowHeight
Field Value
System.Double

DefaultScaleFactor

The default zoom level for worksheet display (100%).

Declaration
public const double DefaultScaleFactor = 1
Field Value
System.Double

DefaultScaleFactorSize

The default zoom scale as width and height multipliers (1×1).

Declaration
public static readonly Size DefaultScaleFactorSize
Field Value
System.Windows.Size

DefaultStyleName

The name of the default cell style applied to new cells.

Declaration
public static readonly string DefaultStyleName
Field Value
System.String

DefaultTabColor

The default background color for worksheet tabs.

Declaration
public static readonly ThemableColor DefaultTabColor
Field Value
ThemableColor

HyperlinkStyleName

The name of the built-in style applied to hyperlink cells.

Declaration
public static readonly string HyperlinkStyleName
Field Value
System.String

IndentStep

The pixel width added per indent level in device-independent pixels.

Declaration
public static readonly double IndentStep
Field Value
System.Double

LeftCellMargin

The spacing between the left cell border and content in device-independent pixels.

Declaration
public static readonly double LeftCellMargin
Field Value
System.Double

MaxColumnWidth

The maximum allowed column width in device-independent pixels.

Declaration
public static readonly double MaxColumnWidth
Field Value
System.Double

MaxFirstPageNumber

The maximum allowed value for the first page number in printing.

Declaration
public const int MaxFirstPageNumber = 32767
Field Value
System.Int32

MaxFitToPagesCount

The maximum value for fit-to-pages options.

Declaration
public const int MaxFitToPagesCount = 32767
Field Value
System.Int32

MaxIndent

The maximum allowed indent level for cell content.

Declaration
public static readonly int MaxIndent
Field Value
System.Int32

MaxPageScaleFactor

The maximum allowed page scale factor for printing and PDF export (400%).

Declaration
public static readonly double MaxPageScaleFactor
Field Value
System.Double

MaxRowHeight

The maximum allowed row height in device-independent pixels.

Declaration
public static readonly double MaxRowHeight
Field Value
System.Double

MaxScaleFactor

The maximum allowed zoom level for worksheet display (400%).

Declaration
public static readonly double MaxScaleFactor
Field Value
System.Double

MinColumnWidth

The minimum allowed column width in device-independent pixels.

Declaration
public static readonly double MinColumnWidth
Field Value
System.Double

MinFirstPageNumber

The minimum allowed value for the first page number in printing.

Declaration
public const int MinFirstPageNumber = -32765
Field Value
System.Int32

MinFitToPagesCount

The minimum value for fit-to-pages options (0 means automatic).

Declaration
public const int MinFitToPagesCount = 0
Field Value
System.Int32

MinPageScaleFactor

The minimum allowed page scale factor for printing and PDF export (10%).

Declaration
public static readonly double MinPageScaleFactor
Field Value
System.Double

MinRowHeight

The minimum allowed row height in device-independent pixels.

Declaration
public static readonly double MinRowHeight
Field Value
System.Double

MinScaleFactor

The minimum allowed zoom level for worksheet display (50%).

Declaration
public static readonly double MinScaleFactor
Field Value
System.Double

RightCellMargin

The spacing between the right cell border and content in device-independent pixels.

Declaration
public static readonly double RightCellMargin
Field Value
System.Double

RowCount

The maximum number of rows in a worksheet (1,048,576).

Declaration
public static readonly int RowCount
Field Value
System.Int32

TotalHorizontalCellMargin

The total horizontal spacing reserved for cell margins on both sides.

Declaration
public static readonly double TotalHorizontalCellMargin
Field Value
System.Double

TotalWorksheetCellRange

A cell range spanning all rows and columns in the worksheet.

Declaration
public static readonly CellRange TotalWorksheetCellRange
Field Value
CellRange

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.