jQuery/JS Common - Object Structures - positionConfig - boundaryOffset
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 5 Control or a DevExtreme-Based ASP.NET Core Control, this option accepts two values of the double
type.
Razor C#
Razor VB
@(Html.DevExtreme().WidgetName() .Position(p => p .BoundaryOffset(5, -10) ) )
@(Html.DevExtreme().WidgetName() _ .Position(Sub(p) p.BoundaryOffset(5, -10) End Sub) )
Feedback