ActiveReports 17 .NET Edition
GrapeCity.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / Label Class / ClassName Property

In This Topic
    ClassName Property (Label)
    In This Topic
    Gets or sets a style rule class name.  The style rule is used to format the control.
    Public Property ClassName As String
    public 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.
    private void detail_Format(object sender, System.EventArgs eArgs)
        this.label1.ClassName = "Normal";
    Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
       Me.Label1.ClassName = "Normal"
    End Sub
    See Also