Class
CodeFormattingDialogContext

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:

cs-api-definition
public class CodeFormattingDialogContext

Inheritance: objectCodeFormattingDialogContext

Constructors

CodeFormattingDialogContext(RadRichTextBox)

Declaration

cs-api-definition
public CodeFormattingDialogContext(RadRichTextBox owner)

Parameters

owner

RadRichTextBox

Properties

Code

Gets the code associated with the CodeFormattingDialogContext.

Declaration

cs-api-definition
public string Code { get; set; }

Property Value

string

IsAlternatingLinesEnabled

Gets or sets a value indicating whether alternating lines are enabled in the code formatting dialog context.

Declaration

cs-api-definition
public bool IsAlternatingLinesEnabled { get; set; }

Property Value

bool

true if alternating lines are enabled; otherwise, false.

IsLineNumberingEnabled

Gets a value indicating whether line numbering is enabled in the code formatting dialog context.

Declaration

cs-api-definition
public bool IsLineNumberingEnabled { get; set; }

Property Value

bool

Language

Gets or sets the language for the code formatting dialog context.

Declaration

cs-api-definition
public string Language { get; set; }

Property Value

string

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.

Declaration

cs-api-definition
public RadRichTextBox Owner { get; }

Property Value

RadRichTextBox