Skip to main content

RangeSelectorExportBuilder.Formats(IEnumerable<ExportFormat>) Method

Specifies a set of export formats. Mirrors the client-side formats option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public RangeSelectorExportBuilder Formats(
    IEnumerable<ExportFormat> value
)

Parameters

Name Type Description
value IEnumerable<ExportFormat>

The option value.

Returns

Type Description
RangeSelectorExportBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().RangeSelector()
    .Export(export => export
        .Formats(new[] { ExportFormat.GIF })
    )
)
See Also