Reports for WinForms | ComponentOne
In This Topic
    Hiding the Navigation Panel
    In This Topic

    To hide the navigational panel, set the NavigationPanelVisible property to False. This can be set at either in the designer or in code.

    In the Smart Designer

    1. Open the Main Menu floating toolbar.
    2. Select the Layout button to open the Layout dialog box.
    3. Uncheck Navigation panel to set the NavigationPanelVisible property to False.
          

    In the Properties Window

    1. Select the C1PrintPreviewControl and navigate to the Properties window.
    2. Set the NavigationPanelVisible property to False.
          

    In Code

    Add the following code to the Form_Load event:

    To write code in Visual Basic

    Visual Basic
    Copy Code
    Me.C1PrintPreviewControl1.NavigationPanelVisible = False
    

    To write code in C#

    C#
    Copy Code
    this.c1PrintPreviewControl1.NavigationPanelVisible = false;
    

    What You've Accomplished

    The navigation panel will not be visible: