ActiveReports3 Request technical support
ClassName Property
See Also  Example


Gets or sets a style rule class name.  The style rule is used to format the control.

Syntax

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

Return Value

String value that represents the style class name used to format the control's appearance.   Default is Normal.

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
   
this.textBox1.ClassName = "Normal";
   
this.textBox1.OutputFormat = null;
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
   Me.TextBox1.ClassName = "Normal"
   Me.TextBox1.OutputFormat = Nothing
End Sub

Remarks

You can use predefined styles in the report's stylesheet or add new ones to it.

See Also