PositionConfigBuilder.At(HorizontalAlignment, VerticalAlignment) Method
Mirrors the client-side at option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public PositionConfigBuilder At(
HorizontalAlignment h,
VerticalAlignment v
)
Parameters
Name | Type | Description |
---|---|---|
h | HorizontalAlignment | A position in the horizontal direction (left, right, or center alignment). |
v | VerticalAlignment | A position in the vertical direction (top, bottom, or center alignment). |
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
.At(HorizontalAlignment.Center, VerticalAlignment.Center)
)
)
See Also