RichTextBoxWordColoringRule Class |
Namespace: NLog.Windows.Forms
The RichTextBoxWordColoringRule type exposes the following members.
Name | Description | |
---|---|---|
RichTextBoxWordColoringRule |
Initializes a new instance of the RichTextBoxWordColoringRule class.
| |
RichTextBoxWordColoringRule(String, String, String) |
Initializes a new instance of the RichTextBoxWordColoringRule class.
| |
RichTextBoxWordColoringRule(String, String, String, FontStyle) |
Initializes a new instance of the RichTextBoxWordColoringRule class.
|
Name | Description | |
---|---|---|
BackgroundColor |
Gets or sets the background color.
Names are identical with KnownColor enum extended with Empty value which means that background color won't be changed.
| |
FontColor |
Gets or sets the font color.
Names are identical with KnownColor enum extended with Empty value which means that font color won't be changed.
| |
IgnoreCase |
Gets or sets a value indicating whether to ignore case when comparing texts.
| |
Regex |
Gets or sets the regular expression to be matched. You must specify either text or regex.
| |
Style |
Gets or sets the font style of matched text.
Possible values are the same as in FontStyle enum in System.Drawing.
| |
Text |
Gets or sets the text to be matched. You must specify either text or regex.
| |
WholeWords |
Gets or sets a value indicating whether to match whole words only.
|