Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XRScriptsBase.GenerateDefaultEventScript(String, String) Method

Generates the default script for the specified event.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public string GenerateDefaultEventScript(
    string propertyName,
    string propertyValue
)

#Parameters

Name Type Description
propertyName String

A String value, representing the property name.

propertyValue String

A String value, representing the property value.

#Returns

Type Description
String

A String value, representing the default script.

#Remarks

This method generates the default script when a report element and its required event are selected in the corresponding drop-down lists of the Scripts tab.

Scripting - ScriptsEUD_1

To learn more, refer to Scripting Overview.

See Also