TX Text Control .NET for Windows Forms

CommentsDialog Constructor

Constructor|Introduced in 30.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Creates a CommentsDialog object for the specified Windows Forms TextControl.

Syntax

public CommentsDialog(TextControl textControl);

Parameters

ParameterDescription
textControl

Specifies the TextControl for which the dialog box is opened.

Examples

The following example creates a Comments Dialog instance and configures its allow transparency setting for a document workflow.

using CommentsDialog commentsDialog = new(new TextControl());
commentsDialog.AllowTransparency = true;