New to Telerik Document ProcessingStart a free 30-day trial

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

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

C#
public static class SpreadsheetDefaultValues

Inheritance: objectSpreadsheetDefaultValues

Fields

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

C#
public static readonly long CellCount

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

C#
public static readonly int ColumnCount

The default width of columns in device-independent pixels.

C#
public static readonly double DefaultColumnWidth

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

C#
public static readonly ThemableFontFamily DefaultFontFamily

The default font size in device-independent pixels.

C#
public static readonly double DefaultFontSize

The default font size in typographic points.

C#
public static readonly double DefaultFontSizeInPoints

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

C#
public static readonly ThemableColor DefaultForeColor

The default height of rows in device-independent pixels.

C#
public static readonly double DefaultRowHeight

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

C#
public const double DefaultScaleFactor = 1

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

C#
public static readonly Size DefaultScaleFactorSize

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

C#
public static readonly string DefaultStyleName

The default background color for worksheet tabs.

C#
public static readonly ThemableColor DefaultTabColor

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

C#
public static readonly string HyperlinkStyleName

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

C#
public static readonly double IndentStep

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

C#
public static readonly double LeftCellMargin

The maximum allowed column width in device-independent pixels.

C#
public static readonly double MaxColumnWidth

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

C#
public const int MaxFirstPageNumber = 32767

The maximum value for fit-to-pages options.

C#
public const int MaxFitToPagesCount = 32767

The maximum allowed indent level for cell content.

C#
public static readonly int MaxIndent

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

C#
public static readonly double MaxPageScaleFactor

The maximum allowed row height in device-independent pixels.

C#
public static readonly double MaxRowHeight

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

C#
public static readonly double MaxScaleFactor

The minimum allowed column width in device-independent pixels.

C#
public static readonly double MinColumnWidth

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

C#
public const int MinFirstPageNumber = -32765

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

C#
public const int MinFitToPagesCount = 0

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

C#
public static readonly double MinPageScaleFactor

The minimum allowed row height in device-independent pixels.

C#
public static readonly double MinRowHeight

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

C#
public static readonly double MinScaleFactor

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

C#
public static readonly double RightCellMargin

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

C#
public static readonly int RowCount

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

C#
public static readonly double TotalHorizontalCellMargin

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

C#
public static readonly CellRange TotalWorksheetCellRange