Share via


Ribbon.CommandUIVisible property

Gets or sets a value that indicates whether the Server ribbon is visible.

Namespace:  Microsoft.Web.CommandUI
Assembly:  Microsoft.Web.CommandUI (in Microsoft.Web.CommandUI.dll)

Syntax

'Declaration
Public Overridable Property CommandUIVisible As Boolean
    Get
    Set
'Usage
Dim instance As Ribbon
Dim value As Boolean

value = instance.CommandUIVisible

instance.CommandUIVisible = value
public virtual bool CommandUIVisible { get; set; }

Property value

Type: System.Boolean
true if the ribbon is visible; otherwise, false.

Remarks

There are two parts to the ribbon: the upper part, where other controls such as site actions can be put, and the CommandUI part that has the buttons and controls. This property controls the lower part of the ribbon. So, if this property is set to false, the site actions still appear in the upper part of the ribbon, but no tabs and buttons appear in the lower part.

See also

Reference

Ribbon class

Ribbon members

Microsoft.Web.CommandUI namespace