FoldingManager
Class
Class FoldingManager.
Definition
Namespace:Telerik.Windows.Controls.SyntaxEditor.Folding
Assembly:Telerik.Windows.Controls.SyntaxEditor.dll
Syntax:
C#
public class FoldingManager
Inheritance: objectFoldingManager
Properties
Gets the editor.
C#
public RadSyntaxEditor Editor { get; }
The editor.
Gets the folding regions.
C#
public IEnumerable<FoldingRegion> FoldingRegions { get; }
The folding regions.
Gets a value indicating whether this instance is update in progress.
C#
public bool IsUpdateInProgress { get; }
true if this instance is update in progress; otherwise, false.
Methods
Begins the update.
C#
public void BeginUpdate()
Clears the foldings.
C#
public void ClearFoldings()
Ends the update.
Gets the index of the foldings containing.
C#
public IEnumerable<FoldingRegion> GetFoldingsContainingIndex(int index)
The index.
Returns:Gets the foldings containing line.
C#
public IEnumerable<FoldingRegion> GetFoldingsContainingLine(int lineNumber)
The line number.
Returns:Gets the foldings intersecting span.
C#
public IEnumerable<FoldingRegion> GetFoldingsIntersectingSpan(Span span)
The span.
Returns:Removes the folding.
C#
public void RemoveFolding(FoldingRegion foldingRegion)
The folding region.
Unfolds the index of all regions containing.