ClassCodeFormattingDialogContext
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
CodeFormattingDialogContext(RadRichTextBox)
Declaration
public CodeFormattingDialogContext(RadRichTextBox owner)
Parameters
owner
Properties
Code
Gets the code associated with the CodeFormattingDialogContext.
IsAlternatingLinesEnabled
Gets or sets a value indicating whether alternating lines are enabled in the code formatting dialog context.
Declaration
public bool IsAlternatingLinesEnabled { get; set; }
Property Value
true if alternating lines are enabled; otherwise, false.
IsLineNumberingEnabled
Gets a value indicating whether line numbering is enabled in the code formatting dialog context.
Language
Gets or sets the language for the code formatting dialog context.
Declaration
public string Language { get; set; }
Property Value
The language as a string that represents the locale or coding language used in the formatting process.
Owner
Gets the owner of the code formatting dialog context.