Visual Basic (Declaration) | |
---|---|
Public Class Style |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class Style |
C# | Copy Code |
---|---|
private void rptDataDynamics_ReportStart(object sender, System.EventArgs eArgs) |
Visual Basic | Copy Code |
---|---|
Private Sub rptDD_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart |
The Style class encapsulates the properties that control the appearance of a control and can be applied to multiple controls to provide a common appearance.
Style properties can be cascaded using inheritance. When creating a new style you can set the values of unset properties to inherit from a parent style. For example, if you have a style named "Normal", you can create a new style named "NormalBold" and set only the Parent property to "Normal" and the FontBold property to true. The remaining properties will be set the same as the parent style.
ActiveReports has a set of built-in styles that are defined in the StyleSheet class.
System.Object
DataDynamics.ActiveReports.Style