Click or drag to resize
CodeFormattingSettings Class
Represents setting used from CodeFormatter to format source code .
Inheritance Hierarchy
SystemObject
  Telerik.Windows.Documents.Model.CodeCodeFormattingSettings

Namespace: Telerik.Windows.Documents.Model.Code
Assembly: Telerik.Windows.Documents (in Telerik.Windows.Documents.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class CodeFormattingSettings

The CodeFormattingSettings type exposes the following members.

Constructors
  NameDescription
Public methodCodeFormattingSettings
Initializes a new instance of the CodeFormattingSettings class. You can use the predefined languages from CodeLanguages class, or create custom ones.
Top
Properties
  NameDescription
Public propertyCodeLanguage
Gets or sets the code language.
Public propertyIsAlternatingLinesEnabled
Gets or sets a value indicating whether lines are formatted with alternating styles.
Public propertyIsLineNumberingEnabled
Gets or sets a value indicating whether line numbering is enabled.
Top
See Also