The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientUtils.GetAbsoluteX(element) Method

Gets the x-coordinate of the specified element's top left corner relative to the client area of the window, excluding scroll bars.

Declaration

static GetAbsoluteX(element: any): number

Parameters

Name Type Description
element any

An object identifying the HTML element whose position should be obtained.

Returns

Type Description
number

An integer value representing the specified element's x-coordinate, in pixels.

Remarks

Use the GetAbsoluteX and ASPxClientUtils.GetAbsoluteY methods to obtain the absolute position of a specific element's top-left corner regardless of scrolling applied to the window's client region. These are universal methods which can be used under all supported browsers.

See Also