Share via


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