ActiveReports3 Request technical support
Style Property
See Also  Example


Gets or sets a style string for the ReportInfo control.

Syntax

Visual Basic (Declaration) 
Public Property Style As String
Visual Basic (Usage)Copy Code
Dim instance As ReportInfo
Dim value As String
 
instance.Style = value
 
value = instance.Style
C# 
public string Style {get; set;}

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
   
this.reportInfo1.Style = "color: Firebrick; text-align: center;";
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
    Me.ReportInfo1.Style = "color: FireBrick; text-align: center;"
End Sub

See Also