xtrareports-js-devexpress-dot-reporting-dot-designer-a21a8c73.md
Contains functions and properties used to specify the Report Designer settings.
| Name | Description |
|---|---|
| IPropertyGridSettings | An object that contains properties to customize the Properties Panel. |
| Name | Description |
|---|---|
| PropertyGrid | Allows you to customize the Properties Panel in the Report Designer. |
| Name | Description |
|---|---|
| AIServicesEnabled | Enables AI-powered AI-powered functionality in the Web Report Designer. |
| 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. |
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()
}