DevExpress.Reporting.Designer.Settings Module
In This Article
Contains functions and properties used to specify the Report Designer settings.
#Interfaces
Name | Description |
---|---|
IProperty |
An object that contains properties to customize the Properties Panel. |
#Variables
Name | Description |
---|---|
Property |
Allows you to customize the Properties Panel in the Report Designer. |
#Functions
Name | Description |
---|---|
Context |
Enables report-specific context menus. |
Dimension |
Enables 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). |
Smart |
Enables 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()
}