Click or drag to resize
CodeFormatter Class
Inheritance Hierarchy
SystemObject
  Telerik.Windows.Documents.Model.CodeCodeFormatter

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 CodeFormatter

The CodeFormatter type exposes the following members.

Constructors
  NameDescription
Public methodCodeFormatter
Top
Methods
  NameDescription
Public methodGetCodeLanguages
Gets all registered the code languages.
Public methodGetFormattedFragment
Creates fragment containing formatted code block.
Public methodRegisterClassificationType(ClassificationType, StyleDefinition)
Registers classification type and its corresponding style.
Public methodRegisterClassificationType(ClassificationType, CodeLanguage, StyleDefinition)
Registers classification type for a specific code language and its corresponding style.
Public methodRegisterCodeLanguage
Registers a code language and its corresponding tagger.
Public methodUnregisterClassificationType(ClassificationType)
Un-registers classification type and its corresponding style.
Public methodUnregisterClassificationType(ClassificationType, CodeLanguage)
Un-registers classification type for a specific code language and its corresponding style.
Public methodUnregisterCodeLanguage
Un-registers a code language and its corresponding tagger.
Top
See Also