BrowserFormWebPart.ShowFormRibbon Property

Gets or sets whether the InfoPath ribbon is displayed when the InfoPath Form Web Part is selected.

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

Syntax

'Declaration
Public Property ShowFormRibbon As Boolean
    Get
    Set
'Usage
Dim instance As BrowserFormWebPart
Dim value As Boolean

value = instance.ShowFormRibbon

instance.ShowFormRibbon = value
public bool ShowFormRibbon { get; set; }

Property Value

Type: System.Boolean
true if the InfoPath ribbon is displayed; otherwise false.

Remarks

The ShowFormRibbon property corresponds to the Show InfoPath Ribbon or toolbar setting in the InfoPath Form Web Part tool pane.

See Also

Reference

BrowserFormWebPart Class

BrowserFormWebPart Members

Microsoft.Office.InfoPath.Server.Controls.WebUI Namespace