view Element

Microsoft Office InfoPath

Show All Show All

view Element

Contains information about a Microsoft Office InfoPath 2003 view.

Type

      xsd:complexType
    

Structure

Name Description
caption(Optional attribute) Provides the display caption for the view within the view list.
designMode(Optional attribute) Determines whether the view can be opened in design mode.
editing(Optional element) Contains information about the editing components used in the view.
mainpane(Required element) Determines what is displayed in the main pane (form area).
menu(Optional element) Contains information about the custom menus used in the view.
menuArea(Optional element) Contains information about the custom menu items that can be added to the InfoPath built-in menus.
name (Required attribute) Identifies the view for object model calls when switching views, and for specifying the default view.
printSettings (Optional element) Specifies the printer settings used when printing the view.
printView (Optional attribute) Specifies the name of another view to use for printing this view.
toolbar (Optional element) Contains information about the toolbars used in the view.
unboundControls (Optional element) Defines the unbound button controls that are used in the view.
showMenuItem(Optional element) Provides the display of the menu item in the View menu with a check mark when enabled.

Remarks

The view element is a required element of the views element.

Example

The following is an example of the view element:

    <xsf:views default="View">
   <xsf:view name="View" caption="View">
      <xsf:mainpane transform="view1.xsl"></xsf:mainpane>
      ...
   </xsf:view>
</xsf:views>