ActiveReports 9
ClassName Property (TextBox)
Example 

Gets or sets a style rule class name.  The style rule is used to format the control.
Syntax
'Declaration
 
Public Property ClassName As System.String
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.
Remarks
You can use predefined styles in the report's stylesheet or add new ones to it.
Example
private void detail_Format(object sender, System.EventArgs eArgs)
{
    this.textBox1.ClassName = "Normal";
    this.textBox1.OutputFormat = null;
}
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
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TextBox Class
TextBox Members
ActiveReports6~GrapeCity.ActiveReports.TextBox~Style
ActiveReports6~GrapeCity.ActiveReports.Style
ActiveReports6~GrapeCity.ActiveReports.StyleSheet

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum