# TextContextMenuEventArgs.Location Property

> Gets the location, in pixels, where the context menu should be displayed. The coordinates are relative to the top-left corner of the screen.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 21.0
- **Namespace:** `TXTextControl.ServerVisualisation`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Server.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.Server.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Server.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.ServerVisualization > TextContextMenuEventArgs.Location Property
- **307 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textcontextmenueventargs/location-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textcontextmenueventargs/location-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textcontextmenueventargs/location-property/llms-full.txt

---

### Description

Gets the location, in pixels, where the context menu should be displayed. The coordinates are relative to the top-left corner of the screen.

### Syntax

```csharp
public Point Location { get; }
```

```vbnet
Public ReadOnly Property Location As Point
```

### Examples

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

```csharp
Console.WriteLine($"Location: {textContextMenuEventArgs.Location}");
Console.WriteLine("Text Context Menu Event Args is ready for use.");
```

```vbnet
Console.WriteLine($"Location: {textContextMenuEventArgs.Location}")
Console.WriteLine("Text Context Menu Event Args is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [TextContextMenuEventArgs.Items Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textcontextmenueventargs/items-property/llms-full.txt)
- **Next:** [TextContextMenuEventArgs.RightToLeft Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textcontextmenueventargs/righttoleft-property/llms-full.txt)
