ComponentOne Preview Classic for WinForms: Preview Classic for WinForms Task-Based Help > Hiding the Navigational Panel

Hiding the Navigational Panel

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

In the Designer

1.   Locate the NavigationBar property for C1PrintPreview in the Properties window and expand the properties node.

2.   Set the Visible property to False.

 

In Code

Add the following code to the Form_Load event:

      Visual Basic

Me.C1PrintPreview1.C1PreviewNavigationBar.Visible = False

      C#

this.c1PrintPreview1.C1PreviewNavigationBar.Visible = false;

This topic illustrates the following:

The navigation bar will not be visible.

 


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.