Class BlockCodes
Blockcodes is an internal class used to hold a group of values for syntax highlighting purpose.
Inheritance
Namespace: Syncfusion.Windows.Edit
Assembly: Syncfusion.Edit.Wpf.dll
Syntax
public class BlockCodes : Object
Constructors
BlockCodes()
Initializes a new instance of the BlockCodes class.
Declaration
public BlockCodes()
BlockCodes(Int32, Boolean, String, String)
Initializes a new instance of the BlockCodes class.
Declaration
public BlockCodes(int startLine, bool eol, string startText, string endText)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | startLine | Gets the integer value of startLine from the reporting source |
System.Boolean | eol | Gets the bool value of eol from the reporting source |
System.String | startText | Gets the string value of startText from the reporting source |
System.String | endText | Gets the string value of endText from the reporting source |
Properties
BlockEndText
Gets or sets the Block End Text
Declaration
public string BlockEndText { get; set; }
Property Value
Type | Description |
---|---|
System.String | Type: System.String |
BlockStartLine
Gets or sets the Block StartLine property.
Declaration
public int BlockStartLine { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Type: System.Int32 |
BlockStartText
Gets or sets the Block Start Text
Declaration
public string BlockStartText { get; set; }
Property Value
Type | Description |
---|---|
System.String | Type: System.String |
CloseAtEOL
Gets or sets a value indicating whether lexical element has multiline or not. By default it is set to false.
Declaration
public bool CloseAtEOL { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Type: System.Boolean |
LexemType
Gets or sets the Lexem type
Declaration
public EditTokenType LexemType { get; set; }
Property Value
Type |
---|
EditTokenType |
SubLexems
Gets or sets the Sub Lexems
Declaration
public IEnumerable SubLexems { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.IEnumerable | Type: System.Collections.IEnumerable |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type |
---|
System.String |