# CommentedText.RepliedComment Property

> Gets the comment for which this comment is a reply. When this comment is not a reply, null is returned.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 30.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.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 WPF > Reference > TXTextControl > CommentedText.RepliedComment Property
- **536 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/commentedtext/repliedcomment-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/commentedtext/repliedcomment-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/commentedtext/repliedcomment-property/llms-full.txt

---

### Description

Gets the comment for which this comment is a reply. When this comment is not a reply, null is returned.

### Syntax

```csharp
public CommentedText RepliedComment { get; }
```

```vbnet
Public ReadOnly Property RepliedComment As CommentedText
```

### Examples

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

```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);

Console.WriteLine($"Replied Comment: {commentedText.RepliedComment}");
Console.WriteLine("Commented Text is ready for use.");
```

```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)

Console.WriteLine($"Replied Comment: {commentedText.RepliedComment}")
Console.WriteLine("Commented Text is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [CommentedText.Number Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/commentedtext/number-property/llms-full.txt)
- **Next:** [CommentedText.Replies Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/commentedtext/replies-property/llms-full.txt)
