A newer version of this page is available. Switch to the current version.

ExtensionsFactory<ModelType>.TrackBarFor<ValueType>(Expression<Func<ModelType, ValueType>>, Action<TrackBarSettings>) Method

Creates a TrackBar.

Namespace: DevExpress.Web.Mvc.UI

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

Declaration

public TrackBarExtension TrackBarFor<ValueType>(
    Expression<Func<ModelType, ValueType>> expression,
    Action<TrackBarSettings> method
)
Public Function TrackBarFor(Of ValueType)(
    expression As Expression(Of Func(Of ModelType, ValueType)),
    method As Action(Of TrackBarSettings)
) As TrackBarExtension

Parameters

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

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

method Action<TrackBarSettings>

A delegate method that accepts TrackBarSettings as a parameter.

Type Parameters

Name
ValueType

Returns

Type Description
TrackBarExtension

A TrackBarExtension object implementing the TrackBar functionality.

See Also