Skip to main content

BarGaugeExportBuilder.PrintingEnabled(Boolean) Method

Enables the printing feature in the UI component. Applies only if the export.enabled property is true. Mirrors the client-side printingEnabled option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public BarGaugeExportBuilder PrintingEnabled(
    bool value
)

Parameters

Name Type Description
value Boolean

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
        .PrintingEnabled(true)
    )
)
See Also