Skip to main content

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

Creates a HyperLink.

Namespace: DevExpress.Web.Mvc.UI

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

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

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