XtraReport.ScriptLanguage Property
Gets or sets the scripting language of all the scripts used in this XtraReport object.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v26.1.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
[DefaultValue(ScriptLanguage.CSharp)]
[SRCategory(ReportStringId.CatBehavior)]
public ScriptLanguage ScriptLanguage { get; set; }
Property Value
| Type | Default | Description |
|---|---|---|
| ScriptLanguage | CSharp | One of the ScriptLanguage enumeration’s values specifying the language of the scripts used in the report. |
Remarks
All the scripts used in a report should be written in the same language specified by the ScriptLanguage property. The ScriptLanguage.JScript is not available in .NET applications.
To learn more about using scripts in XtraReports, see the Using Report Scripts topic.
Note
You can set the ScriptLanguage property globally, so that all the newly created reports have this property set to the required value. For this purpose, use the Report Designer Options dialog available within the XtraReports menu.