Export (0) Print
Expand All
Expand Minimize

view Element

Office 2007

Contains information about a Microsoft Office InfoPath 2007 view.

Type

xsd:complexType

Structure

NameDescription
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.

Note   If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will ignore this setting when the form template is deployed to the server as a browser-compatible form.
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>

Remarks

Note   If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will ignore this setting when the form template is deployed to the server as a browser-compatible form.



Community Additions

ADD
Show:
© 2014 Microsoft