Export (0) Print
Expand All

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)

public virtual bool CommandUIVisible { get; set; }

Property value

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

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.

Show:
© 2014 Microsoft