Back to Devexpress

RadioGroupBuilder.Value(Object) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-radiogroupbuilder-dot-value-x28-system-dot-object-x29.md

latest1.2 KB
Original Source

RadioGroupBuilder.Value(Object) Method

Mirrors the client-side value option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public RadioGroupBuilder Value(
    object value
)

Parameters

NameTypeDescription
valueObject

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()
    .Value("MyValue")
)

See Also

RadioGroupBuilder Class

RadioGroupBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace