This example shows how to handle the XRlabel.BeforePrint
event, how to access the label object in the event handler, and how to customize the appearance of the label.
Note
Use binding expressions instead of the
BeforePrint
handler to flexibly set values for most of the properties of the report controls.
- Form1.cs (VB: Form1.vb)
- XtraReport1.cs (VB: XtraReport1.vb)