# ParagraphCollection.Item Property

> Gets a paragraph from the collection. In C# this property is the indexer for the ParagraphCollection class.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 15.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 > ParagraphCollection.Item Property
- **463 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/paragraphcollection/item-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/paragraphcollection/item-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/paragraphcollection/item-property/llms-full.txt

---

### Description

Gets a paragraph from the collection. In C# this property is the indexer for the ParagraphCollection class.

### Syntax

```csharp
public Paragraph this[int number] { get; }
```

```vbnet
Default Public ReadOnly Property Item(number As Integer) As Paragraph
```

### Examples

The following example works with paragraphs in the current document by using `ParagraphCollection.Item`.

```csharp
ParagraphCollection paragraphCollection = textControl.Paragraphs;
textControl.Text = "Quarterly results\nRevenue increased by 12%.";

Console.WriteLine($"Item: {paragraphCollection[10]}");
Console.WriteLine("Paragraph Collection is ready for use.");
```

```vbnet
Dim paragraphCollection As ParagraphCollection = textControl.Paragraphs
textControl.Text = "Quarterly results" & vbCrLf & "Revenue increased by 12%."

Console.WriteLine($"Item: {paragraphCollection.Item(10)}")
Console.WriteLine("Paragraph Collection is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [ParagraphCollection.GetItem Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/paragraphcollection/getitem-method/llms-full.txt)
- **Next:** [ParagraphFormat Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/paragraphformat/llms-full.txt)
