Skip to main content

RangeSelectorExportBuilder.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 RangeSelectorExportBuilder PrintingEnabled(
    bool value
)

Parameters

Name Type Description
value Boolean

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