TimeCellsControlBase.Scripts Property

Provides access to an object that contains report-specific scripts to handle events of the TimeCellsControlBase descendants in the End-User Designer.

Namespace: DevExpress.XtraScheduler.Reporting

Assembly: DevExpress.XtraScheduler.v20.2.Reporting.dll

Declaration

[SRCategory(ReportStringId.CatBehavior)]
[XtraSerializableProperty(XtraSerializationVisibility.Content)]
public TimeCellsControlBaseScripts Scripts { get; }
<SRCategory(ReportStringId.CatBehavior)>
<XtraSerializableProperty(XtraSerializationVisibility.Content)>
Public ReadOnly Property Scripts As TimeCellsControlBaseScripts

Property Value

Type Description
DevExpress.XtraScheduler.Reporting.Native.TimeCellsControlBaseScripts

A XRControlScripts class descendant containing scripts that handle events.

Remarks

Use this property to specify scripting strings which are the TimeCellsControlBase's event handlers. To handle an event, add the string containing the script to the text of all scripts (the XtraReport.ScriptsSource property). Subsequently, assign the name of the function declared in the script text to the property of the TimeCellsControlBase object which relates to the desired event.

NOTE

The language used in all the scripts is specified by the XtraReport.ScriptLanguage property.

To learn more about using scripts, see the Using Report Scripts section of XtraReports documentation.

See Also