Skip to main content
A newer version of this page is available. .

XRControl Events

The base class for all visual controls used for creating reports.
Name Description
AfterPrint Occurs after an XRControl object is displayed in the report.
BeforePrint Occurs before an XRControl object creates its image in a report being generated.
Disposed Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
Draw Occurs when an XRControl object is drawn or redrawn in a report’s Print Preview.
EvaluateBinding Occurs after a data-bound XRControl object obtains data from its data source.
HtmlItemCreated Occurs when a new item used for a Web representation of the control is created.
LocationChanged Occurs when the value of the XRControl.Location property is changed.
ParentChanged Occurs when the XRControl instance’s parent is changed.
PreviewClick Occurs when the mouse button is clicked while the cursor is hovering over one of the bricks created by the XRControl for its representation in the report preview.
PreviewDoubleClick Occurs when the left mouse button is double-clicked while the cursor is hovering over one of the bricks created for the control‘s representation in the report preview.
PreviewMouseDown Occurs when an end-user presses the mouse button while the mouse pointer is hovering over one of the bricks created for the control‘s representation in the report preview.
PreviewMouseMove Occurs when the mouse cursor moves over the control during the report’s preview.
PreviewMouseUp Occurs when an end-user releases the left mouse button while the mouse pointer is hovering over one of the bricks created for the control‘s representation in the report preview.
PrintOnPage Occurs when the representation of a control is printed on the current page of the report.
SizeChanged Occurs when the value of the XRControl.Size property is changed.
TextChanged Occurs when the value of the XRControl.Text property is changed.
See Also