共用方式為


XmlFormView.ShowHeader Property

Gets or sets the boolean value indicating whether the header will be displayed above the form.

Namespace:  Microsoft.Office.InfoPath.Server.Controls
Assembly:  Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)

Syntax

'Declaration
<PersonalizableAttribute> _
<WebBrowsableAttribute(True)> _
Public Property ShowHeader As Boolean
    Get
    Set
'Usage
Dim instance As XmlFormView
Dim value As Boolean

value = instance.ShowHeader

instance.ShowHeader = value
[PersonalizableAttribute]
[WebBrowsableAttribute(true)]
public bool ShowHeader { get; set; }

Property Value

Type: System.Boolean
true, if the header is displayed; otherwise, false.

Remarks

The header and footer show common actions that can be taken by the user of the form, such as saving, printing, and switching views.

See Also

Reference

XmlFormView Class

XmlFormView Members

Microsoft.Office.InfoPath.Server.Controls Namespace