DevExpress.Reporting.Designer.Settings Module
Contains functions and properties used to specify the Report Designer settings.
Interfaces
Name | Description |
---|---|
IPropertyGridSettings | An object that contains properties to customize the Properties Panel. |
Variables
Name | Description |
---|---|
PropertyGrid | Allows you to customize the Properties Panel in the Report Designer. |
Functions
Name | Description |
---|---|
ContextMenusEnabled | Enables report-specific context menus. |
DimensionNotationsEnabled | 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). |
SmartTagsEnabled | Enables smart tags. |
Remarks
Use settings from this class on the BeforeRender
event:
<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()
}