Represents the context for the code formatting dialog in the Telerik UI framework.
Definition
Namespace:Telerik.Windows.Documents.UI.Extensibility
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class CodeFormattingDialogContext
Inheritance: objectCodeFormattingDialogContext
Constructors
Properties
Gets the code associated with the CodeFormattingDialogContext.
public string Code { get; set; }
Gets or sets a value indicating whether alternating lines are enabled in the code formatting dialog context.
public bool IsAlternatingLinesEnabled { get; set; }
true if alternating lines are enabled; otherwise, false.
Gets a value indicating whether line numbering is enabled in the code formatting dialog context.
public bool IsLineNumberingEnabled { get; set; }
Gets or sets the language for the code formatting dialog context.
public string Language { get; set; }
The language as a string that represents the locale or coding language used in the formatting process.
Gets the owner of the code formatting dialog context.
public RadRichTextBox Owner { get; }