New to Telerik UI for WinForms? Start a free 30-day trial

Provides default values for document layout, typography, tables, themes, watermarks, and code blocks.

Definition

Namespace:Telerik.WinForms.Documents.Model

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public static class DocumentDefaultSettings

Inheritance: objectDocumentDefaultSettings

Fields

Default number of table columns spanned by a newly created cell.

C#
public static readonly int CELL_COLUMN_SPAN

Default number of table rows spanned by a newly created cell.

C#
public static readonly int CELL_ROW_SPAN

Background color applied to the alternate code-block line style.

C#
public static readonly Color CODE_BLOCK_ALTERNATING_BACKGROUND

Font family assigned to code-block text.

C#
public const string CODE_BLOCK_FONT_FAMILY = "Courier New"

Font size assigned to code-block text, in document layout units.

C#
public const double CODE_BLOCK_FONT_SIZE = 13.333333333333334

Default background color for comment callouts.

C#
public static readonly Color COMMENT_DEFAULT_BACKGROUND

Default border color for comment callouts.

C#
public static readonly Color COMMENT_DEFAULT_BORDER

Default highlight color used for comments.

C#
public static readonly Color COMMENT_DEFAULT_HIGHLIGHT

Default insets for the comment template content; the left and top values are 9, while the right and bottom values are 0.

C#
public static readonly Thickness COMMENT_TEMPLATE_DEFAULT_CONTENT_MARGIN

Default padding on each side of a table cell.

C#
public static readonly Padding DEFAULT_CELL_PADDING

Default spacing between table cells.

C#
public const double DEFAULT_CELL_SPACING = 0

Font family assigned to new text spans and used as the base style's font family.

C#
public const string DEFAULT_FONT_FAMILY = "Verdana"

Default font size assigned to text spans and the document's base style, in document layout units.

C#
public const double DEFAULT_FONT_SIZE = 16

Default line-spacing value applied when initializing a document's paragraph style.

C#
public const double DEFAULT_LINE_SPACING = 1.15

Default page margins assigned to a section when no section-specific margins are set.

C#
public static readonly Padding DEFAULT_PAGE_MARGIN

Page dimensions initialized from the built-in Letter paper type.

C#
public static readonly Size DEFAULT_PAGE_SIZE

Fallback interval used to place implicit tab stops when no document-specific tab width is available.

C#
public const double DEFAULT_TAB_WIDTH = 48

Default border collection assigned to a table.

C#
public static readonly TableBorders DEFAULT_TABLE_BORDERS

Default border collection assigned to a table cell.

C#
public static readonly TableCellBorders DEFAULT_TABLE_CELL_BORDERS

Padding used by flow-mode layout instead of the regular page margins.

C#
public static readonly Padding FLOW_MODE_PAGE_MARGIN

Font-size increment used by increase/decrease commands, equal to two points converted to document layout units.

C#
public static readonly double INCREMENT_FONT_SIZE_STEP

Indentation increment used by paragraph and list indentation commands, in document layout units.

C#
public const float INDENT_STEP = 24

Cell padding used by the built-in normal table and code-block styles.

C#
public static readonly Padding NORMAL_CELL_PADDING

Spacing after paragraphs assigned to the document's built-in default style.

C#
public const double PARAGRAPH_COMMON_SPACING_AFTER = 12

Default paragraph spacing after a paragraph when no document style overrides it.

C#
public const double PARAGRAPH_DEFAULT_SPACING_AFTER = 0

Default paragraph spacing before a paragraph.

C#
public const double PARAGRAPH_DEFAULT_SPACING_BEFORE = 0

Color returned for a permission region while document protection is enforced.

C#
public static readonly Color PERMISSION_RANGE_ENFORCED_COLOR

Hashing iteration count assigned when ProtectDocument(DocumentProtectionMode, string) enables password protection.

C#
public static readonly int PROTECTION_HASH_SPIN_COUNT

Default spacing after a column when creating built-in multi-column layouts.

C#
public const float SECTION_COLUMN_DEFAULT_SPACING = 48

Minimum spacing allowed after a column in the section-columns dialog.

C#
public const float SECTION_COLUMN_MIN_SPACING = 0

Minimum width used when laying out a section text column.

C#
public const float SECTION_COLUMN_MIN_WIDTH = 48

Default collection used by a section's text-column property.

C#
public static readonly SectionColumnCollection SECTION_DEFAULT_COLUMNCOLLECTION

Default inset below footer content within a section.

C#
public const int SECTION_DEFAULT_FOOTER_BOTTOM_MARGIN = 48

Default inset above header content within a section.

C#
public const int SECTION_DEFAULT_HEADER_TOP_MARGIN = 48

Orientation used for sections when no section-specific value is set.

C#
public const PageOrientation SECTION_DEFAULT_PAGE_ORIENTATION = Portrait

Hexadecimal RGB value for the built-in theme's Accent1 palette entry.

C#
public const string THEME_COLOR_ACCENT1 = "4F81BD"

Hexadecimal RGB value for the built-in theme's Accent2 palette entry.

C#
public const string THEME_COLOR_ACCENT2 = "C0504D"

Hexadecimal RGB value for the built-in theme's Accent3 palette entry.

C#
public const string THEME_COLOR_ACCENT3 = "9BBB59"

Hexadecimal RGB value for the built-in theme's Accent4 palette entry.

C#
public const string THEME_COLOR_ACCENT4 = "8064A2"

Hexadecimal RGB value for the built-in theme's Accent5 palette entry.

C#
public const string THEME_COLOR_ACCENT5 = "4BACC6"

Hexadecimal RGB value for the built-in theme's Accent6 palette entry.

C#
public const string THEME_COLOR_ACCENT6 = "F79646"

Hexadecimal RGB value for the built-in theme's Dark1 palette entry.

C#
public const string THEME_COLOR_DARK1 = "000000"

Hexadecimal RGB value for the built-in theme's Dark2 palette entry.

C#
public const string THEME_COLOR_DARK2 = "1F497D"

Hexadecimal RGB value for followed hyperlinks in the built-in theme.

C#
public const string THEME_COLOR_FOLLOWEDHYPERLINK = "800080"

Hexadecimal RGB value for hyperlinks in the built-in theme.

C#
public const string THEME_COLOR_HYPERLINK = "0000FF"

Hexadecimal RGB value for the built-in theme's Light1 palette entry.

C#
public const string THEME_COLOR_LIGHT1 = "FFFFFF"

Hexadecimal RGB value for the built-in theme's Light2 palette entry.

C#
public const string THEME_COLOR_LIGHT2 = "EEECE1"

Theme color identifier assigned to the built-in Accent1 role.

C#
public const ThemeColorsEnum THEME_COLOR_MAPPING_ACCENT1 = accent1

Theme color identifier assigned to the built-in Accent2 role.

C#
public const ThemeColorsEnum THEME_COLOR_MAPPING_ACCENT2 = accent2

Theme color identifier assigned to the built-in Accent3 role.

C#
public const ThemeColorsEnum THEME_COLOR_MAPPING_ACCENT3 = accent3

Theme color identifier assigned to the built-in Accent4 role.

C#
public const ThemeColorsEnum THEME_COLOR_MAPPING_ACCENT4 = accent4

Theme color identifier assigned to the built-in Accent5 role.

C#
public const ThemeColorsEnum THEME_COLOR_MAPPING_ACCENT5 = accent5

Theme color identifier assigned to the built-in Accent6 role.

C#
public const ThemeColorsEnum THEME_COLOR_MAPPING_ACCENT6 = accent6

Theme color identifier assigned to the built-in Text1 role.

C#
public const ThemeColorsEnum THEME_COLOR_MAPPING_DARK1 = dark1

Theme color identifier assigned to the built-in Text2 role.

C#
public const ThemeColorsEnum THEME_COLOR_MAPPING_DARK2 = dark2

Theme color identifier assigned to the built-in followed-hyperlink role.

C#
public const ThemeColorsEnum THEME_COLOR_MAPPING_FOLLOWEDHYPERLINK = followedHyperlink

Theme color identifier assigned to the built-in hyperlink role.

C#
public const ThemeColorsEnum THEME_COLOR_MAPPING_HYPERLINK = hyperlink

Theme color identifier assigned to the built-in Background1 role.

C#
public const ThemeColorsEnum THEME_COLOR_MAPPING_LIGHT1 = light1

Semantic theme color identifier assigned by default to the Background2 role; the current value is text2.

C#
public const ThemeColorsEnum THEME_COLOR_MAPPING_LIGHT2 = text2

Default name assigned to the built-in theme color scheme.

C#
public const string THEME_COLORS_NAME = "Office"

Font family name used for the built-in theme's major font role.

C#
public const string THEME_FONT_MAJOR = "Cambria"

Font family name used for the built-in theme's minor font role.

C#
public const string THEME_FONT_MINOR = "Calibri"

Default name assigned to the built-in theme font scheme.

C#
public const string THEME_FONTS_NAME = "Office"

Default name assigned to a newly created document theme.

C#
public const string THEME_NAME = "Office Theme"

Sentinel priority used for styles until registration assigns a built-in or custom UI priority.

C#
public const int UIPRIORITY = 10000

Opaque light-gray foreground assigned to newly created text-watermark settings.

C#
public static readonly Color WATERMARK_DEFAULT_COLOR

Font family assigned to newly created text-watermark settings.

C#
public static readonly string WATERMARK_DEFAULT_FONT_FAMILY

Default font size assigned to new text watermarks and used when the serialized font size is omitted.

C#
public const double WATERMARK_DEFAULT_FONT_SIZE = 84

Zero-degree rotation assigned to newly created text-watermark settings.

C#
public static readonly double WATERMARK_NO_ROTATION_ANGLE

Default opacity assigned to newly created text-watermark settings.

C#
public static readonly double WATERMARK_OPACITY

Rotation angle, in degrees, used by the built-in diagonal text-watermark presets.

C#
public static readonly double WATERMARK_ROTATION_ANGLE

Opacity assigned when the watermark dialog's semitransparent option is selected.

C#
public static readonly double WATERMARK_SEMITRANSPARENT_OPACITY
In this article
DefinitionFieldsCELL_COLUMN_SPANCELL_ROW_SPANCODE_BLOCK_ALTERNATING_BACKGROUNDCODE_BLOCK_FONT_FAMILYCODE_BLOCK_FONT_SIZECOMMENT_DEFAULT_BACKGROUNDCOMMENT_DEFAULT_BORDERCOMMENT_DEFAULT_HIGHLIGHTCOMMENT_TEMPLATE_DEFAULT_CONTENT_MARGINDEFAULT_CELL_PADDINGDEFAULT_CELL_SPACINGDEFAULT_FONT_FAMILYDEFAULT_FONT_SIZEDEFAULT_LINE_SPACINGDEFAULT_PAGE_MARGINDEFAULT_PAGE_SIZEDEFAULT_TAB_WIDTHDEFAULT_TABLE_BORDERSDEFAULT_TABLE_CELL_BORDERSFLOW_MODE_PAGE_MARGININCREMENT_FONT_SIZE_STEPINDENT_STEPNORMAL_CELL_PADDINGPARAGRAPH_COMMON_SPACING_AFTERPARAGRAPH_DEFAULT_SPACING_AFTERPARAGRAPH_DEFAULT_SPACING_BEFOREPERMISSION_RANGE_ENFORCED_COLORPROTECTION_HASH_SPIN_COUNTSECTION_COLUMN_DEFAULT_SPACINGSECTION_COLUMN_MIN_SPACINGSECTION_COLUMN_MIN_WIDTHSECTION_DEFAULT_COLUMNCOLLECTIONSECTION_DEFAULT_FOOTER_BOTTOM_MARGINSECTION_DEFAULT_HEADER_TOP_MARGINSECTION_DEFAULT_PAGE_ORIENTATIONTHEME_COLOR_ACCENT1THEME_COLOR_ACCENT2THEME_COLOR_ACCENT3THEME_COLOR_ACCENT4THEME_COLOR_ACCENT5THEME_COLOR_ACCENT6THEME_COLOR_DARK1THEME_COLOR_DARK2THEME_COLOR_FOLLOWEDHYPERLINKTHEME_COLOR_HYPERLINKTHEME_COLOR_LIGHT1THEME_COLOR_LIGHT2THEME_COLOR_MAPPING_ACCENT1THEME_COLOR_MAPPING_ACCENT2THEME_COLOR_MAPPING_ACCENT3THEME_COLOR_MAPPING_ACCENT4THEME_COLOR_MAPPING_ACCENT5THEME_COLOR_MAPPING_ACCENT6THEME_COLOR_MAPPING_DARK1THEME_COLOR_MAPPING_DARK2THEME_COLOR_MAPPING_FOLLOWEDHYPERLINKTHEME_COLOR_MAPPING_HYPERLINKTHEME_COLOR_MAPPING_LIGHT1THEME_COLOR_MAPPING_LIGHT2THEME_COLORS_NAMETHEME_FONT_MAJORTHEME_FONT_MINORTHEME_FONTS_NAMETHEME_NAMEUIPRIORITYWATERMARK_DEFAULT_COLORWATERMARK_DEFAULT_FONT_FAMILYWATERMARK_DEFAULT_FONT_SIZEWATERMARK_NO_ROTATION_ANGLEWATERMARK_OPACITYWATERMARK_ROTATION_ANGLEWATERMARK_SEMITRANSPARENT_OPACITY
Not finding the help you need?
Contact Support