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:
public static class SpreadsheetDefaultValues
Inheritance: objectSpreadsheetDefaultValues
Fields
The total number of cells in a worksheet (rows × columns).
public static readonly long CellCount
The maximum number of columns in a worksheet (16,384).
public static readonly int ColumnCount
The default width of columns in device-independent pixels.
public static readonly double DefaultColumnWidth
The default font family for cell text, referencing the theme's minor font.
public static readonly ThemableFontFamily DefaultFontFamily
The default font size in device-independent pixels.
public static readonly double DefaultFontSize
The default font size in typographic points.
public static readonly double DefaultFontSizeInPoints
The default color for cell text content, referencing the theme's Text1 color.
public static readonly ThemableColor DefaultForeColor
The default height of rows in device-independent pixels.
public static readonly double DefaultRowHeight
The default zoom level for worksheet display (100%).
public const double DefaultScaleFactor = 1
The default zoom scale as width and height multipliers (1×1).
public static readonly Size DefaultScaleFactorSize
The name of the default cell style applied to new cells.
public static readonly string DefaultStyleName
The default background color for worksheet tabs.
public static readonly ThemableColor DefaultTabColor
The name of the built-in style applied to hyperlink cells.
public static readonly string HyperlinkStyleName
The pixel width added per indent level in device-independent pixels.
public static readonly double IndentStep
The spacing between the left cell border and content in device-independent pixels.
public static readonly double LeftCellMargin
The maximum allowed column width in device-independent pixels.
public static readonly double MaxColumnWidth
The maximum allowed value for the first page number in printing.
public const int MaxFirstPageNumber = 32767
The maximum value for fit-to-pages options.
public const int MaxFitToPagesCount = 32767
The maximum allowed indent level for cell content.
public static readonly int MaxIndent
The maximum allowed page scale factor for printing and PDF export (400%).
public static readonly double MaxPageScaleFactor
The maximum allowed row height in device-independent pixels.
public static readonly double MaxRowHeight
The maximum allowed zoom level for worksheet display (400%).
public static readonly double MaxScaleFactor
The minimum allowed column width in device-independent pixels.
public static readonly double MinColumnWidth
The minimum allowed value for the first page number in printing.
public const int MinFirstPageNumber = -32765
The minimum value for fit-to-pages options (0 means automatic).
public const int MinFitToPagesCount = 0
The minimum allowed page scale factor for printing and PDF export (10%).
public static readonly double MinPageScaleFactor
The minimum allowed row height in device-independent pixels.
public static readonly double MinRowHeight
The minimum allowed zoom level for worksheet display (50%).
public static readonly double MinScaleFactor
The spacing between the right cell border and content in device-independent pixels.
public static readonly double RightCellMargin
The maximum number of rows in a worksheet (1,048,576).
public static readonly int RowCount
The total horizontal spacing reserved for cell margins on both sides.
public static readonly double TotalHorizontalCellMargin
A cell range spanning all rows and columns in the worksheet.
public static readonly CellRange TotalWorksheetCellRange