Skip to main content

XRControlEvents Members

Used to implement scripting for report bands and controls.

Constructors

Name Description
XRControlEvents() Initializes a new instance of the XRControlEvents class with default settings.
XRControlEvents(XRControl) Initializes a new instance of a XRControlEvents class with the specified control.

Properties

Name Description
OnAfterPrint Gets or sets the name of the script used to handle the XRControl.AfterPrint event.
OnBeforePrint Gets or sets the name of the script used to handle the XRControl.BeforePrint event.
OnDraw Gets or sets the name of the script used to handle the XRControl.Draw event.
OnEvaluateBinding Gets or sets the name of the script used to handle the XRControl.EvaluateBinding event.
OnHtmlItemCreated Gets or sets the name of the script used to handle the XRControl.HtmlItemCreated event.
OnLocationChanged Gets or sets the name of the script used to handle the XRControl.LocationChanged event.
OnParentChanged Gets or sets the name of the script used to handle the XRControl.ParentChanged event.
OnPreviewClick Gets or sets the name of the script used to handle the XRControl.PreviewClick event.
OnPreviewDoubleClick Gets or sets the name of the script used to handle the XRControl.PreviewDoubleClick event.
OnPreviewMouseDown Gets or sets the name of the script used to handle the XRControl.PreviewMouseDown event.
OnPreviewMouseMove Gets or sets the name of the script used to handle the XRControl.PreviewMouseMove event.
OnPreviewMouseUp Gets or sets the name of the script used to handle the XRControl.PreviewMouseUp event.
OnPrintOnPage Gets or sets the name of the script used to handle the XRControl.PrintOnPage event.
OnSizeChanged Gets or sets the name of the script used to handle the XRControl.SizeChanged event.
OnTextChanged Gets or sets the name of the script used to handle the XRControl.TextChanged event.

Methods

Name Description
Dispose() Disposes of the XRScriptsBase object. Inherited from XRScriptsBase.
EnumerateScriptsProperties<T>(Func<PropertyDescriptor, T>) For internal use. Inherited from XRScriptsBase.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GenerateDefaultEventScript(String, String) Generates the default script for the specified event. Inherited from XRScriptsBase.
GenerateDefaultEventScript(String) Generates the default script for the specified property. For internal use only. Inherited from XRScriptsBase.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetScriptsNames(Func<PropertyDescriptor, String>) Returns an array of available script names. Inherited from XRScriptsBase.
GetType() Gets the Type of the current instance. Inherited from Object.
IsDefault() Determines whether the current script is equal to the default script text. For internal use only. Inherited from XRScriptsBase.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also