Specifies horizontal and vertical offset in pixels.

Type: String|Object

This options accepts an object containing the x and y fields which specify the horizontal and vertical offset respectively, or a string consisting of horizontal and vertical offset values separated separated by a space (e.g., "5 -10").

position: { offset: '5 -10' };

When you configure a widget as an ASP.NET MVC Control, this option accepts two values of the double type.

Razor C#
Razor VB
    .Position(p => p
        .Offset(5, -10)
@(Html.DevExtreme().WidgetName() _
        p.Offset(5, -10)
    End Sub)


Specifies the horizontal offset.

Type: Number
Default Value: 0


Specifies the vertical offset.

Type: Number
Default Value: 0