Class BlockListener
Inheritance
System.Object
BlockListener
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Syncfusion.Windows.Edit
Assembly: Syncfusion.Edit.Wpf.dll
Syntax
public class BlockListener
Constructors
BlockListener()
Initializes a new instance of the BlockListener class.
Declaration
public BlockListener()
BlockListener(Int32, String, String, Boolean)
Initializes a new instance of the BlockListener class.
Declaration
public BlockListener(int parent, string startText, string endText, bool isPreprocessor)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | parent | Gets the integer value of parent 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 |
System.Boolean | isPreprocessor | Gets the bool value of isPreprocessor from the reporting source |
Properties
BlockEnd
Gets or sets the Block StartLine
Declaration
public string BlockEnd { get; set; }
Property Value
Type | Description |
---|---|
System.String | Type: System.String |
BlockStart
Gets or sets the Block StartLine property.
Declaration
public string BlockStart { get; set; }
Property Value
Type | Description |
---|---|
System.String | Type: System.String |
CheckParentType
Declaration
public bool CheckParentType { get; set; }
Property Value
Type |
---|
System.Boolean |
EndBlockOnRecurrence
Declaration
public bool EndBlockOnRecurrence { get; set; }
Property Value
Type |
---|
System.Boolean |
EndLineNumber
Declaration
public int EndLineNumber { get; set; }
Property Value
Type |
---|
System.Int32 |
IgnoreEndBlock
Declaration
public bool IgnoreEndBlock { get; set; }
Property Value
Type |
---|
System.Boolean |
IsCollapsible
Declaration
public bool IsCollapsible { get; set; }
Property Value
Type |
---|
System.Boolean |
IsIndent
Declaration
public bool IsIndent { get; set; }
Property Value
Type |
---|
System.Boolean |
IsPreprocessor
Gets or sets a value indicating whether the Lexem element is Preprocessor or not. By default it is set to false.
Declaration
public bool IsPreprocessor { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Type: System.Boolean |
IsRegex
Declaration
public bool IsRegex { get; set; }
Property Value
Type |
---|
System.Boolean |
LexemType
Declaration
public EditTokenType LexemType { get; set; }
Property Value
Type |
---|
EditTokenType |
ParentLexemType
Declaration
public EditTokenType ParentLexemType { get; set; }
Property Value
Type |
---|
EditTokenType |
ParentLineNumber
Gets or sets the Block StartLine
Declaration
public int ParentLineNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Type: System.Int32 |
ScopeLevel
Declaration
public ScopeLevel ScopeLevel { get; set; }
Property Value
Type |
---|
ScopeLevel |
StartLine
Declaration
public int StartLine { get; set; }
Property Value
Type |
---|
System.Int32 |
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type |
---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
---|
System.Int32 |
Overrides
System.Object.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
Type |
---|
System.String |
Overrides
System.Object.ToString()