Back to Devexpress

RadioGroupBuilder.Layout(Orientation) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-radiogroupbuilder-dot-layout-x28-devextreme-dot-aspnet-dot-mvc-dot-orientation-x29.md

latest1.3 KB
Original Source

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

csharp
public RadioGroupBuilder Layout(
    Orientation value
)

Parameters

NameTypeDescription
valueOrientation

The option value.

|

Returns

TypeDescription
RadioGroupBuilder

A reference to this instance after the method is called.

|

Remarks

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

cshtml
@(Html.DevExtreme().RadioGroup()
    .Layout(Orientation.Horizontal)
)

See Also

RadioGroupBuilder Class

RadioGroupBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace