Class
SpreadsheetDefaultValues

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:

cs-api-definition
public static class SpreadsheetDefaultValues

Inheritance: objectSpreadsheetDefaultValues

Fields

CellCount

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

Declaration

cs-api-definition
public static readonly long CellCount

Field Value

long

ColumnCount

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

Declaration

cs-api-definition
public static readonly int ColumnCount

Field Value

int

DefaultColumnWidth

The default width of columns in device-independent pixels.

Declaration

cs-api-definition
public static readonly double DefaultColumnWidth

Field Value

double

DefaultFontFamily

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

Declaration

cs-api-definition
public static readonly ThemableFontFamily DefaultFontFamily

Field Value

ThemableFontFamily

DefaultFontSize

The default font size in device-independent pixels.

Declaration

cs-api-definition
public static readonly double DefaultFontSize

Field Value

double

DefaultFontSizeInPoints

The default font size in typographic points.

Declaration

cs-api-definition
public static readonly double DefaultFontSizeInPoints

Field Value

double

DefaultForeColor

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

Declaration

cs-api-definition
public static readonly ThemableColor DefaultForeColor

Field Value

ThemableColor

DefaultRowHeight

The default height of rows in device-independent pixels.

Declaration

cs-api-definition
public static readonly double DefaultRowHeight

Field Value

double

DefaultScaleFactor

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

Declaration

cs-api-definition
public const double DefaultScaleFactor = 1

Field Value

double

DefaultScaleFactorSize

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

Declaration

cs-api-definition
public static readonly Size DefaultScaleFactorSize

Field Value

Size

DefaultStyleName

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

Declaration

cs-api-definition
public static readonly string DefaultStyleName

Field Value

string

DefaultTabColor

The default background color for worksheet tabs.

Declaration

cs-api-definition
public static readonly ThemableColor DefaultTabColor

Field Value

ThemableColor

HyperlinkStyleName

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

Declaration

cs-api-definition
public static readonly string HyperlinkStyleName

Field Value

string

IndentStep

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

Declaration

cs-api-definition
public static readonly double IndentStep

Field Value

double

LeftCellMargin

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

Declaration

cs-api-definition
public static readonly double LeftCellMargin

Field Value

double

MaxColumnWidth

The maximum allowed column width in device-independent pixels.

Declaration

cs-api-definition
public static readonly double MaxColumnWidth

Field Value

double

MaxFirstPageNumber

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

Declaration

cs-api-definition
public const int MaxFirstPageNumber = 32767

Field Value

int

MaxFitToPagesCount

The maximum value for fit-to-pages options.

Declaration

cs-api-definition
public const int MaxFitToPagesCount = 32767

Field Value

int

MaxIndent

The maximum allowed indent level for cell content.

Declaration

cs-api-definition
public static readonly int MaxIndent

Field Value

int

MaxPageScaleFactor

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

Declaration

cs-api-definition
public static readonly double MaxPageScaleFactor

Field Value

double

MaxRowHeight

The maximum allowed row height in device-independent pixels.

Declaration

cs-api-definition
public static readonly double MaxRowHeight

Field Value

double

MaxScaleFactor

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

Declaration

cs-api-definition
public static readonly double MaxScaleFactor

Field Value

double

MinColumnWidth

The minimum allowed column width in device-independent pixels.

Declaration

cs-api-definition
public static readonly double MinColumnWidth

Field Value

double

MinFirstPageNumber

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

Declaration

cs-api-definition
public const int MinFirstPageNumber = -32765

Field Value

int

MinFitToPagesCount

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

Declaration

cs-api-definition
public const int MinFitToPagesCount = 0

Field Value

int

MinPageScaleFactor

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

Declaration

cs-api-definition
public static readonly double MinPageScaleFactor

Field Value

double

MinRowHeight

The minimum allowed row height in device-independent pixels.

Declaration

cs-api-definition
public static readonly double MinRowHeight

Field Value

double

MinScaleFactor

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

Declaration

cs-api-definition
public static readonly double MinScaleFactor

Field Value

double

RightCellMargin

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

Declaration

cs-api-definition
public static readonly double RightCellMargin

Field Value

double

RowCount

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

Declaration

cs-api-definition
public static readonly int RowCount

Field Value

int

TotalHorizontalCellMargin

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

Declaration

cs-api-definition
public static readonly double TotalHorizontalCellMargin

Field Value

double

TotalWorksheetCellRange

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

Declaration

cs-api-definition
public static readonly CellRange TotalWorksheetCellRange

Field Value

CellRange