public void ApplyStyle( XRControlStyle style )
Public Sub ApplyStyle( style As XRControlStyle )
An XRControlStyle object, containing the appearance to copy from.
The ApplyStyle method copies all the values of a style’s appearance properties (e.g. BackColor, Font, ForeColor) to the corresponding properties of a Formatting object, which is returned by the FormattingRule.Formatting property of the current rule.
This may be required if your report already contains several styles in its XtraReport.StyleSheet collection, and you want to conditionally apply these styles to report controls or bands.