Skip to main content

FunnelLabelBuilder.HorizontalAlignment(HorizontalEdge) Method

Specifies labels' position in relation to the funnel items. Mirrors the client-side horizontalAlignment option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public FunnelLabelBuilder HorizontalAlignment(
    HorizontalEdge value
)

Parameters

Name Type Description
value HorizontalEdge

The option value.

Returns

Type Description
FunnelLabelBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().Funnel()
    .Label(label => label
        .HorizontalAlignment(HorizontalEdge.Left)
    )
)
See Also