New to Telerik UI for WPF? Start a free 30-day trial

Defines the start and end strings of a collapsible (folding) code section.

Definition

Namespace:Telerik.Windows.Controls.SyntaxEditor.Taggers

Assembly:Telerik.Windows.Controls.SyntaxEditor.dll

Syntax:

C#
public class FoldingRegionDefinition

Inheritance: objectFoldingRegionDefinition

Constructors

Initializes a new instance of the FoldingRegionDefinition class.

C#
public FoldingRegionDefinition(string startText, string endText)
Parameters:startTextstring

The defining start text.

endTextstring

The defining end text.

Properties

Gets or sets the defining end text of the region definition.

C#
public string EndText { get; set; }

Gets or sets the defining start text of the region definition.

C#
public string StartText { get; set; }