PositionConfigBuilder.BoundaryOffset(Double, Double) Method

Mirrors the client-side boundaryOffset option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public PositionConfigBuilder BoundaryOffset(
    double horz,
    double vert
)

Parameters

Name Type Description
horz Double

A horizontal offset

vert Double

A vertical offset.

Returns

Type Description
PositionConfigBuilder

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