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.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
#Declaration
[DefaultValue(ScriptLanguage.CSharp)]
[SRCategory(ReportStringId.CatBehavior)]
public ScriptLanguage ScriptLanguage { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Script |
CSharp | One of the Script |
Available values:
Name | Description |
---|---|
CSharp | The C# programming language will be used in the current report’s scripts. |
Visual |
The Visual Basic .NET programming language will be used in the current report’s scripts. |
JScript | The Java Script programming language will be used in the current report’s scripts. |
#Remarks
Note: All the scripts used in a report should be written in the same language specified by the ScriptLanguage property.
To learn more about using scripts in XtraReports, see the Using Report Scripts topic.
Note
You can set the Script
#Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ScriptLanguage property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.