# CommentedText.ReplyToComment Method

> Opens a comment input control to reply to this comment.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 30.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > CommentedText.ReplyToComment Method
- **574 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/commentedtext/replytocomment-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/commentedtext/replytocomment-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/commentedtext/replytocomment-method/llms-full.txt

---

### Description

Opens a comment input control to reply to this comment.

### Syntax

```csharp
public bool ReplyToComment();
```

```vbnet
Public Function ReplyToComment() As Boolean
```

### Return Value

The return value is true, if the comment input control could be opened. Otherwise it is false. False is also returned, if this comment is already a reply to another comment.

### Examples

The following example attaches a reviewer comment to selected contract text by using `CommentedText.ReplyToComment`.

```csharp
textControl.Text = "Payment is due within 30 days.";
textControl.Select(0, textControl.Text.Length);
CommentedText commentedText = new("Verify the payment term.");
textControl.Comments.Add(commentedText);

if (commentedText.ReplyToComment())
{
    Console.WriteLine("Reply To Comment completed successfully.");
}
```

```vbnet
textControl.Text = "Payment is due within 30 days."
textControl.Select(0, textControl.Text.Length)
Dim commentedText As New CommentedText("Verify the payment term.")
textControl.Comments.Add(commentedText)

If commentedText.ReplyToComment() Then
    Console.WriteLine("Reply To Comment completed successfully.")
End If
```

---

## Nearby

- **Previous:** [CommentedText.Replies Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/commentedtext/replies-property/llms-full.txt)
- **Next:** [CommentedText.Save Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/commentedtext/save-method/llms-full.txt)
