SmartTagsEnabled Function
In This Article
Enables smart tags.
#Declaration
TypeScript
export const SmartTagsEnabled: DevExpress.Analytics.Internal.IGlobalSubscribableValue<boolean>
#Parameters
Name | Type | Description |
---|---|---|
new |
boolean |
|
#Returns
Type |
---|
boolean |
#Remarks
The property’s default value is true
. Click on an element’s smart tag to open a panel with the element’s most commonly used properties:
Set the property to false
to disable smart tags for report elements:
cshtml
<script>
function onBeforeRender(s, e) {
DevExpress.Reporting.Designer.Settings.SmartTagsEnabled(false);
}
</script>
@{
var designerRender = Html.DevExpress().ReportDesigner("reportDesigner")
.Height("100%")
.ClientSideEvents(configure => configure.BeforeRender("onBeforeRender"))
.Bind(Model);
@designerRender.RenderHtml()
}