Visual Basic (Declaration) | |
---|---|
Public Property ClassName As System.String |
C# | |
---|---|
public System.string ClassName {get; set;} |
Property Value
String value that represents the style class name used to format the control's appearance. Default is Normal.You can use predefined styles in the report's stylesheet or add new ones to it.
C# | Copy Code |
---|---|
private void detail_Format(object sender, System.EventArgs eArgs) { this.label1.ClassName = "Normal"; } |
Visual Basic | Copy Code |
---|---|
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format Me.Label1.ClassName = "Normal" End Sub |
Reference
Label ClassLabel Members
ActiveReports6~GrapeCity.ActiveReports.Label~Style
ActiveReports6~GrapeCity.ActiveReports.StyleSheet