CrystalReportViewer.GroupTreeStyle Property
Gets or sets the display options for the group tree panel.
Namespace CrystalDecisions.Web Assembly CrystalDecisions.Web (CrystalDecisions.Web.dll)
Syntax
'Declaration
Public Property GroupTreeStyle As CrystalDecisions.Shared.GroupTreeStyle
public CrystalDecisions.Shared.GroupTreeStyle GroupTreeStyle {get; set;}
Example
This example shows how to set the GroupTreeStyle property for the CrystalReportViewer control.
'Declaration
Private Sub SetGroupTreeStyle(ByVal myCssClass As String)
Dim myGroupTreeStyle As GroupTreeStyle = New GroupTreeStyle
myGroupTreeStyle.CssClass = myCssClass
CrystalReportViewer.GroupTreeStyle = myGroupTreeStyle
End Sub
private void SetGroupTreeStyle(String cssClass)
{
GroupTreeStyle groupTreeStyle = new GroupTreeStyle();
groupTreeStyle.CssClass = cssClass;
crystalReportViewer.GroupTreeStyle = groupTreeStyle;
}
Version Information
Crystal Reports Basic for Visual Studio 2008
Supported since: Crystal Reports .NET 10
See Also
Reference
CrystalReportViewer Class
CrystalReportViewer Members
CrystalDecisions.Web Namespace