jQuery/JS Common - Object Structures - positionConfig - boundaryOffset
Specifies the horizontal and vertical offset from the window's boundaries.
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.
@(Html.DevExtreme().WidgetName()
.Position(p => p
.BoundaryOffset(5, -10)
)
)
@(Html.DevExtreme().WidgetName() _
.Position(Sub(p)
p.BoundaryOffset(5, -10)
End Sub)
)If you have technical questions, please create a support ticket in the DevExpress Support Center.