ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Design.Win Assembly / GrapeCity.ActiveReports.Design Namespace / Designer Class / ShowDataSourceIcon Property
Example

In This Topic
    ShowDataSourceIcon Property
    In This Topic
    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
    'Declaration
     
    Public Property ShowDataSourceIcon As Boolean
    public 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
    private void designer1_Load(object sender, System.EventArgs e)
    {
        this.designer1.ShowDataSourceIcon = false;
    }
    Private Sub Designer1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Designer1.Load
        Me.Designer1.ShowDataSourceIcon = False
    End Sub
    See Also