RichTextBoxTarget Properties |
The RichTextBoxTarget type exposes the following members.
| Name | Description | |
|---|---|---|
| AllowAccessoryFormCreation |
Gets or sets a value indicating whether to create accessory form if the specified form/control combination was not found during target initialization.
| |
| AutoScroll |
Gets or sets a value indicating whether scroll bar will be moved automatically to show most recent log entries.
| |
| ControlName |
Gets or sets the Name of RichTextBox to which Nlog will write.
| |
| CreatedForm |
Form created (true) or used an existing (false). Set after InitializeTarget. Can be true only if AllowAccessoryFormCreation is set to true (default).
| |
| DefaultRowColoringRules |
Gets the default set of row coloring rules which applies when UseDefaultRowColoringRules is set to true.
| |
| FormName |
Gets or sets the name of the Form on which the control is located.
If there is no open form of a specified name than NLog will create a new one.
| |
| Height |
Gets or sets the initial height of the form with rich text box.
| |
| Layout |
Gets or sets the layout used to format log messages.
(Inherited from TargetWithLayout.) | |
| MaxLines |
Gets or sets the maximum number of lines the rich text box will store (or 0 to disable this feature).
| |
| MessageRetention |
gets or sets the message retention strategy which determines how the target handles messages when there's no control attached, or when switching between controls
| |
| Name |
Gets or sets the name of the target.
(Inherited from Target.) | |
| RowColoringRules |
Gets the row coloring rules.
| |
| ShowMinimized |
Gets or sets a value indicating whether the created form will be initially minimized.
| |
| SupportLinks |
If set to true, using "rtb-link" renderer (RichTextBoxLinkLayoutRenderer) would create clickable links in the control.
| |
| TargetForm |
Gets or sets the form to log to.
| |
| TargetRichTextBox |
Gets or sets the rich text box to log to.
| |
| ToolWindow |
Gets or sets a value indicating whether the created window will be a tool window.
| |
| UseDefaultRowColoringRules |
Gets or sets a value indicating whether to use default coloring rules.
| |
| Width |
Gets or sets the initial width of the form with rich text box.
| |
| WordColoringRules |
Gets the word highlighting rules.
|