Class SpreadsheetDefaultValues
Provides constants defining default dimensions, limits, and styling for spreadsheet elements.
Inheritance
Inherited Members
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
|