Specifies the horizontal and vertical offset from the window's boundaries.

Type: String|Object

This option is used to resolve collisions. If the specified offset from the specified target leads to a collision with the window's boundary, the boundaryOffset value is used to position the element near the place of collision.

This option accepts an object containing the x and y fields which specify horizontal and vertical offset respectively, or a string in the following format: "5 -10", where the first number is a horizontal offset and the second number is a vertical offset in pixels.

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
        .BoundaryOffset(5, -10)
@(Html.DevExtreme().WidgetName() _
        p.BoundaryOffset(5, -10)
    End Sub)


Specifies the horizontal offset.

Type: Number
Default Value: 0


Specifies the vertical offset.

Type: Number
Default Value: 0