Skip to main content

ExtensionsFactory<ModelType>.RadioButtonListFor<ValueType>(Expression<Func<ModelType, ValueType>>, Action<RadioButtonListSettings>) Method

Creates a RadioButtonList.

Namespace: DevExpress.Web.Mvc.UI

Assembly: DevExpress.Web.Mvc5.v24.2.dll

Declaration

public RadioButtonListExtension RadioButtonListFor<ValueType>(
    Expression<Func<ModelType, ValueType>> expression,
    Action<RadioButtonListSettings> method
)

Parameters

Name Type Description
expression Expression<Func<ModelType, ValueType>>

An expression that identifies the object that contains the properties to display.

method Action<RadioButtonListSettings>

A delegate method that accepts RadioButtonListSettings as a parameter.

Type Parameters

Name
ValueType

Returns

Type Description
RadioButtonListExtension

A RadioButtonListExtension object implementing the RadioButtonList functionality.

See Also