ActiveReports 8
ShowDataSourceIcon Property
See Also  Example
GrapeCity.ActiveReports.Design.Win.v8 Assembly > GrapeCity.ActiveReports.Design Namespace > Designer Class : ShowDataSourceIcon Property

Glossary Item Box

Specifies whether the Datasource icon will be visible on the detail section bar to allow the user to modify the report's data source settings.

Syntax

Visual Basic (Declaration) 
Public Property ShowDataSourceIcon As System.Boolean
C# 
public System.bool ShowDataSourceIcon {get; set;}

Property Value

Boolean.  If True, the data source icon will be visible; otherwise, False.

Remarks

You can use this property to hide the Data Source icon and provide your own interface for manipulating the report's data source.

Example

C#Copy Code
private void designer1_Load(object sender, System.EventArgs e)
{
    this.designer1.ShowDataSourceIcon = false;
}
Visual BasicCopy Code
Private Sub Designer1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Designer1.Load
    Me.Designer1.ShowDataSourceIcon = False
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