Skip to main content

BarGaugeExportBuilder.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 BarGaugeExportBuilder Formats(
    IEnumerable<ExportFormat> value
)

Parameters

Name Type Description
value IEnumerable<ExportFormat>

The option value.

Returns

Type Description
BarGaugeExportBuilder

A reference to this instance after the method is called.

Remarks

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

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