ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Viewer.Win Assembly / GrapeCity.ActiveReports.Viewer.Win Namespace / Viewer Class / Sidebar Property
Example

In This Topic
    Sidebar Property (Viewer)
    In This Topic
    Gets the sidebar component of the viewer control.
    Syntax
    'Declaration
     
    Public ReadOnly Property Sidebar As Sidebar
    public Sidebar Sidebar {get;}

    Property Value

    A Sidebar instance that represents the sidebar in the viewer.
    Example
    // Assuming 'viewer' is your Viewer control instance
    private void ShowSidebarButton_Click(object sender, EventArgs e)
    {
    	viewer.Sidebar.Visible = true;
    }
    private void HideSidebarButton_Click(object sender, EventArgs e)
    {
        viewer.Sidebar.Visible = false;
    }
    See Also