PositionConfigBuilder.BoundaryOffset(Double, Double) Method
In This Article
Mirrors the client-side boundaryOffset option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public PositionConfigBuilder BoundaryOffset(
double horz,
double vert
)
#Parameters
Name | Type | Description |
---|---|---|
horz | Double | A horizontal offset |
vert | Double | A vertical offset. |
#Returns
Type | Description |
---|---|
Position |
A reference to this instance after the method is called. |
#Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().Popover()
.Position(position => position
.BoundaryOffset(50, -50)
)
)
See Also