ClassFoldingManager
Class FoldingManager.
Definition
Namespace:Telerik.WinForms.Controls.SyntaxEditor.Folding
Assembly:Telerik.WinControls.SyntaxEditor.dll
Syntax:
public class FoldingManager
Inheritance: objectFoldingManager
Properties
Editor
Gets the editor.
Declaration
public RadSyntaxEditorElement Editor { get; }
Property Value
The editor.
FoldingRegions
Gets the folding regions.
Declaration
public IEnumerable<FoldingRegion> FoldingRegions { get; }
Property Value
IEnumerable<FoldingRegion>
The folding regions.
IsUpdateInProgress
Gets a value indicating whether this instance is update in progress.
Declaration
public bool IsUpdateInProgress { get; }
Property Value
true if this instance is update in progress; otherwise, false.
Methods
CreateFolding(int, int, bool, string, object)
Creates the folding.
EndUpdate()
Ends the update.
Declaration
public void EndUpdate()
Exceptions
There is no active update to end.
GetFoldingsContainingIndex(int)
Gets the index of the foldings containing.
Declaration
public IEnumerable<FoldingRegion> GetFoldingsContainingIndex(int index)
Parameters
index
The index.
Returns
IEnumerable<FoldingRegion>
GetFoldingsContainingLine(int)
Gets the foldings containing line.
Declaration
public IEnumerable<FoldingRegion> GetFoldingsContainingLine(int lineNumber)
Parameters
lineNumber
The line number.
Returns
IEnumerable<FoldingRegion>
GetFoldingsIntersectingSpan(Span)
Gets the foldings intersecting span.
Declaration
public IEnumerable<FoldingRegion> GetFoldingsIntersectingSpan(Span span)
Parameters
span
The span.
Returns
IEnumerable<FoldingRegion>
RemoveFolding(FoldingRegion)
Removes the folding.
Declaration
public void RemoveFolding(FoldingRegion foldingRegion)
Parameters
foldingRegion
The folding region.
UnfoldAllRegionsContaningIndex(int)
Unfolds the index of all regions containing.
Declaration
public void UnfoldAllRegionsContaningIndex(int index)
Parameters
index
The index.