# FrameEventArgs.Frame Property

> Gets an object that represents the frame which causes the event. It is of the type Image, TextFrame, DataVisualization.ChartFrame, DataVisualization.BarcodeFrame or DataVisualization.DrawingFrame.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 24.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.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 Server > Reference > TXTextControl > FrameEventArgs.Frame Property
- **490 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/frameeventargs/frame-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/frameeventargs/frame-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/frameeventargs/frame-property/llms-full.txt

---

### Description

Gets an object that represents the frame which causes the event. It is of the type [Image](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/image/llms-full.txt), [TextFrame](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/textframe/llms-full.txt), [DataVisualization.ChartFrame](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-datavisualization/chartframe/llms-full.txt), [DataVisualization.BarcodeFrame](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-datavisualization/barcodeframe/llms-full.txt) or [DataVisualization.DrawingFrame](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-datavisualization/drawingframe/llms-full.txt).

### Syntax

```csharp
public FrameBase Frame { get; }
```

```vbnet
Public ReadOnly Property Frame As FrameBase
```

### Examples

The following example uses `FrameEventArgs.Frame` while handling `FrameClicked`.

```csharp
textControl.FrameClicked += (_, e) =>
{
    if (e.Frame != null)
    {
        e.Frame.DescriptiveText = "Quarterly sales by region";
    }
};
```

```vbnet
AddHandler textControl.FrameClicked,
    Sub(sender, e)
        If e.Frame IsNot Nothing Then
            e.Frame.DescriptiveText = "Quarterly sales by region"
        End If
    End Sub
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [FrameEventArgs Class](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/frameeventargs/llms-full.txt)
- **Next:** [FrameInsertionMode Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/frameinsertionmode/enumeration/llms-full.txt)
