Skip to main content

RangeSelectorScaleMarkerBuilder.TextTopIndent(Double) Method

Specifies the space between the marker's label and the top edge of the marker's separator. Mirrors the client-side textTopIndent option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public RangeSelectorScaleMarkerBuilder TextTopIndent(
    double value
)

Parameters

Name Type Description
value Double

The option value.

Returns

Type Description
RangeSelectorScaleMarkerBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().RangeSelector()
    .Scale(scale => scale
        .Marker(marker => marker
            .TextTopIndent(10)
        )
    )
)
See Also