Visual Basic (Declaration) | |
---|---|
Public Property ColumnCount As System.Integer |
C# | |
---|---|
public System.int ColumnCount {get; set;} |
Property Value
Integer value that represents the current number of columns in the report; default is 1.
This property can be used to print labels or phonebook-style listings. The width of each column equals the PrintWidth of the report divided by the number of columns.
C# | Copy Code |
---|---|
private void detail_Format(object sender, System.EventArgs eArgs) { this.detail.ColumnCount = 1; } |
Visual Basic | Copy Code |
---|---|
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format Me.Detail.ColumnCount = 1 End Sub |
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
Reference
Detail ClassDetail Members
ActiveReports6~GrapeCity.ActiveReports.GroupHeader~ColumnLayout
ActiveReports6~GrapeCity.ActiveReports.Detail~ColumnDirection
ActiveReports6~GrapeCity.ActiveReports.Detail~ColumnSpacing