The C1ViewPort control includes a smart tag in Visual Studio. A smart tag represents a shortcut tasks menu that provides the most commonly used properties in C1ViewPort.
To access the C1ViewPort Tasks menu, click on the smart tag in the upper-right corner of the C1ViewPort control. This will open the C1ViewPort Tasks menu.
The C1ViewPort Tasks menu operates as follows:
• NavigationBarType
The NavigationBarType drop-down allows you to choose from the type of navigation bar used. You can either select SegmentedButtons or TitleBar.
• LeftButton Visibility
The LeftButton Visibility drop-down box allows you to choose whether the LeftButtonVisibility property is set to Auto (default), Visible, or Hidden.
• RightButton Visible
The RightButton Visible check box allows you to set the visibility of the right button.
• Text
The Text field allows you to add header text to the navigation bar.
• UrlBarVisible
The UrlBarVisible check box determines whether or not the URL bar appears on the C1ViewPort control when it is opened in Mobile Safari.
• NavigationBarVisible
The NavigationBarVisible check box determines whether or not the navigation bar appears on the C1ViewPort control.
• ToolBarVisible
The ToolBarVisible check box determines whether or not the tool bar appears on the control.
• NavigationBarHeight
The NavigationBarHeight field sets the height of the navigation bar, if applicable.
• ToolBarHeight
The ToolBarHeight field sets the height of the toolbar, if applicable.
• About
Clicking on the About item displays the About dialog box, which is helpful in finding the version number and licensing information for the Studio for iPhone suite.