---
title: "MouseEvent.ClientX"
url: "https://reference.aspose.com/html/net/aspose.html.dom.events/mouseevent/clientx/"
product: "Aspose.HTML for .NET API Reference"
description: "MouseEvent ClientX property. The horizontal coordinate at which the event occurred relative to the viewport associated with the event"
---

## MouseEvent.ClientX property

The horizontal coordinate at which the event occurred relative to the viewport associated with the event.

```csharp
public long ClientX { get; }
```

### Property Value

The client x.

### See Also

* class [MouseEvent](../)
* namespace [Aspose.Html.Dom.Events](../../../aspose.html.dom.events/)
* assembly [Aspose.HTML](../../../)
