Back to Devexpress

DevExpress.Reporting.Designer.Settings Module

xtrareports-js-devexpress-dot-reporting-dot-designer-a21a8c73.md

latest2.1 KB
Original Source

DevExpress.Reporting.Designer.Settings Module

Contains functions and properties used to specify the Report Designer settings.

Interfaces

NameDescription
IPropertyGridSettingsAn object that contains properties to customize the Properties Panel.

Variables

NameDescription
PropertyGridAllows you to customize the Properties Panel in the Report Designer.

Functions

NameDescription
AIServicesEnabledEnables AI-powered AI-powered functionality in the Web Report Designer.
ContextMenusEnabledEnables report-specific context menus.
DimensionNotationsEnabledEnables exact element size (dimension notations) on the reporting surface during resize operations. The notations are based on a specified report unit (inches, millimeters, or pixels).
SmartTagsEnabledEnables smart tags.

Remarks

Use settings from this class on the BeforeRender event:

cshtml
<script>
    function onBeforeRender(s, e) {
        DevExpress.Reporting.Designer.Settings.ContextMenusEnabled(false);
    }
</script>

@{
    var designerRender = Html.DevExpress().ReportDesigner("reportDesigner")
        .Height("100%")
        .ClientSideEvents(configure => configure.BeforeRender("onBeforeRender"))
        .Bind(Model);
    @designerRender.RenderHtml()
}