Skip to main content

ExtensionsFactory<ModelType>.RadioButtonFor<ValueType>(Expression<Func<ModelType, ValueType>>, Action<RadioButtonSettings>) Method

Creates a RadioButton.

Namespace: DevExpress.Web.Mvc.UI

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

Declaration

public RadioButtonExtension RadioButtonFor<ValueType>(
    Expression<Func<ModelType, ValueType>> expression,
    Action<RadioButtonSettings> method
)

Parameters

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

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

method Action<RadioButtonSettings>

A delegate method that accepts RadioButtonSettings as a parameter.

Type Parameters

Name
ValueType

Returns

Type Description
RadioButtonExtension

A RadioButtonExtension object implementing the RadioButton functionality.

See Also