Skip to main content

RadioGroupBuilder.Layout(Orientation) Method

Specifies the radio group layout. Mirrors the client-side layout option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public RadioGroupBuilder Layout(
    Orientation value
)

Parameters

Name Type Description
value Orientation

The option value.

Returns

Type Description
RadioGroupBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().RadioGroup()
    .Layout(Orientation.Horizontal)
)
See Also