Click or drag to resize

RichTextBoxTargetGetTargetByControl Method (RichTextBox)

Returns a target attached to a given RichTextBox control

Namespace:  NLog.Windows.Forms
Assembly:  NLog.Windows.Forms (in NLog.Windows.Forms.dll) Version: 6.0.2+01ddbab0988c46f3d07855baad19b639e7f74ec1
Syntax
public static RichTextBoxTarget? GetTargetByControl(
	RichTextBox control
)

Parameters

control
Type: System.Windows.FormsRichTextBox
a RichTextBox control for which the target is to be returned

Return Value

Type: RichTextBoxTarget
A RichTextBoxTarget attached to a given control or
1null
if no target is attached
See Also