ExtensionsFactory<ModelType>.HyperLinkFor<ValueType>(Expression<Func<ModelType, ValueType>>, Action<HyperLinkSettings>) Method

Creates a HyperLink.

Namespace: DevExpress.Web.Mvc.UI

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

Declaration

public HyperLinkExtension HyperLinkFor<ValueType>(
    Expression<Func<ModelType, ValueType>> expression,
    Action<HyperLinkSettings> method
)
Public Function HyperLinkFor(Of ValueType)(
    expression As Expression(Of Func(Of ModelType, ValueType)),
    method As Action(Of HyperLinkSettings)
) As HyperLinkExtension

Parameters

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

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

method Action<HyperLinkSettings>

A delegate method that accepts HyperLinkSettings as a parameter.

Type Parameters

Name
ValueType

Returns

Type Description
HyperLinkExtension

A HyperLinkExtension object implementing the HyperLink functionality.

See Also