Click or drag to resize

RichTextBoxTarget Properties

The RichTextBoxTarget type exposes the following members.

Properties
  NameDescription
Public propertyAllowAccessoryFormCreation
Gets or sets a value indicating whether to create accessory form if the specified form/control combination was not found during target initialization.
Public propertyAutoScroll
Gets or sets a value indicating whether scroll bar will be moved automatically to show most recent log entries.
Public propertyControlName
Gets or sets the Name of RichTextBox to which Nlog will write.
Public propertyCreatedForm
Form created (true) or used an existing (false). Set after InitializeTarget. Can be true only if AllowAccessoryFormCreation is set to true (default).
Public propertyStatic memberDefaultRowColoringRules
Gets the default set of row coloring rules which applies when UseDefaultRowColoringRules is set to true.
Public propertyFormName
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.
Public propertyHeight
Gets or sets the initial height of the form with rich text box.
Public propertyLayout
Gets or sets the layout used to format log messages.
(Inherited from TargetWithLayout.)
Public propertyMaxLines
Gets or sets the maximum number of lines the rich text box will store (or 0 to disable this feature).
Public propertyMessageRetention
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
Public propertyName
Gets or sets the name of the target.
(Inherited from Target.)
Public propertyRowColoringRules
Gets the row coloring rules.
Public propertyShowMinimized
Gets or sets a value indicating whether the created form will be initially minimized.
Public propertySupportLinks
If set to true, using "rtb-link" renderer (RichTextBoxLinkLayoutRenderer) would create clickable links in the control.
Public propertyTargetForm
Gets or sets the form to log to.
Public propertyTargetRichTextBox
Gets or sets the rich text box to log to.
Public propertyToolWindow
Gets or sets a value indicating whether the created window will be a tool window.
Public propertyUseDefaultRowColoringRules
Gets or sets a value indicating whether to use default coloring rules.
Public propertyWidth
Gets or sets the initial width of the form with rich text box.
Public propertyWordColoringRules
Gets the word highlighting rules.
Top
See Also