Back to Devexpress

FunnelBuilder.Label(Action<FunnelLabelBuilder>) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-funnelbuilder-dot-label-x28-system-dot-action-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-funnellabelbuilder-x29.md

latest1.8 KB
Original Source

FunnelBuilder.Label(Action<FunnelLabelBuilder>) Method

Configures funnel item labels. Mirrors the client-side label object.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public FunnelBuilder Label(
    Action<FunnelLabelBuilder> configurator
)

Parameters

NameTypeDescription
configuratorAction<FunnelLabelBuilder>

A function that allows you to specify nested options.

|

Returns

TypeDescription
FunnelBuilder

A reference to this instance after the method is called.

|

Remarks

This method provides access to methods that allow you to configure nested options of the client-side label object.

To specify nested options, use a lambda expression.

cshtml
@(Html.DevExtreme().Funnel()
    .Label(label => label
        // call methods to specify nested options
    )
)

Refer to Nested Options and Collections for more information.

See Also

FunnelBuilder Class

FunnelBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace