jQuery/JS Common - Object Structures - positionConfig - offset
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").
JavaScript
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
@(Html.DevExtreme().WidgetName() .Position(p => p .Offset(5, -10) ) )
@(Html.DevExtreme().WidgetName() _ .Position(Sub(p) p.Offset(5, -10) End Sub) )
Feel free to share topic-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!
If you have technical questions, please create a support ticket in the DevExpress Support Center.