# ShapeEventArgs.Shape Property

> Gets an object of type Shape that represents the shape which causes the event.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 23.0
- **Namespace:** `TXTextControl.Drawing`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXDrawing.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDrawing.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.Drawing > ShapeEventArgs.Shape Property
- **299 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/shapeeventargs/shape-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/shapeeventargs/shape-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/shapeeventargs/shape-property/llms-full.txt

---

### Description

Gets an object of type [Shape](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/shape/llms-full.txt) that represents the shape which causes the event.

### Syntax

```csharp
public Shape Shape { get; }
```

```vbnet
Public ReadOnly Property Shape As Shape
```

### Examples

The following example includes the shape value in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Shape: {shapeEventArgs.Shape}");
Console.WriteLine("Shape Event Args is ready for use.");
```

```vbnet
Console.WriteLine($"Shape: {shapeEventArgs.Shape}")
Console.WriteLine("Shape Event Args is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [ShapeEventArgs Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/shapeeventargs/llms-full.txt)
- **Next:** [ShapeType Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/shapetype/enumeration/llms-full.txt)
