SetStyle Method (Style, String)

Fast Colored Text Box

Collapse imageExpand ImageCopy imageCopyHover image
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(
	Style style,
	string regexPattern
)
Visual Basic
Public Sub SetStyle ( _
	style As Style, _
	regexPattern As String _
)
Visual C++
public:
void SetStyle(
	Style^ style, 
	String^ regexPattern
)

Parameters

style
Type: FastColoredTextBoxNS..::..Style
regexPattern
Type: System..::..String

See Also