# MiniToolbarOpeningEventArgs.Location Property

> Gets the location, in pixels, where the mini toolbar is displayed. The coordinates are relative to the top-left corner of the screen.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 25.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > MiniToolbarOpeningEventArgs.Location Property
- **308 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/minitoolbaropeningeventargs/location-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/minitoolbaropeningeventargs/location-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/minitoolbaropeningeventargs/location-property/llms-full.txt

---

### Description

Gets the location, in pixels, where the mini toolbar is 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 uses `MiniToolbarOpeningEventArgs.Location` while handling `MiniToolbarOpening`.

```csharp
textControl.MiniToolbarOpening += (_, e) =>
{
    Console.WriteLine($"Location: {e.Location}");
};
```

```vbnet
AddHandler textControl.MiniToolbarOpening,
    Sub(sender, e)
        Console.WriteLine($"Location: {e.Location}")
    End Sub
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [MiniToolbarOpeningEventArgs Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/minitoolbaropeningeventargs/llms-full.txt)
- **Next:** [MiniToolbarOpeningEventArgs.MiniToolbar Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/minitoolbaropeningeventargs/minitoolbar-property/llms-full.txt)
