DelimiterLength Property
AvalonEdit
DelimiterLength Property
NamespacesICSharpCode.AvalonEdit.DocumentDocumentLineDelimiterLength

Gets the length of the line delimiter.

The value is 1 for single "\r" or "\n", 2 for the "\r\n" sequence; and 0 for the last line in the document.

Declaration Syntax
C#Visual BasicVisual C++
public int DelimiterLength { get; internal set; }
Public Property DelimiterLength As Integer
	Get
	Friend Set
public:
virtual property int DelimiterLength {
	int get () sealed;
	internal: void set (int value) sealed;
}
Remarks
This property is still available even if the line was deleted; in that case, it contains the line delimiter's length before the deletion.

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238