







![]() ![]() |
FastColoredTextBox |
Range..::..SetStyle Method (StyleIndex, String, RegexOptions) |
Range Class See Also Send Feedback |
Set style for given regex pattern
Namespace: FastColoredTextBoxNS
Assembly: FastColoredTextBox (in FastColoredTextBox.dll) Version: 2.9.3.0 (2.9.3.0)
Syntax
C# |
---|
public void SetStyle( StyleIndex styleLayer, string regexPattern, RegexOptions options ) |
Visual Basic |
---|
Public Sub SetStyle ( _ styleLayer As StyleIndex, _ regexPattern As String, _ options As RegexOptions _ ) |
Visual C++ |
---|
public: void SetStyle( StyleIndex styleLayer, String^ regexPattern, RegexOptions options ) |
Parameters
- styleLayer
- Type: FastColoredTextBoxNS..::..StyleIndex
- regexPattern
- Type: System..::..String
- options
- Type: System.Text.RegularExpressions..::..RegexOptions