Back to Devexpress

RibbonItemBase.Visible Property

aspnet-devexpress-dot-web-dot-ribbonitembase-310c7571.md

latest1.6 KB
Original Source

RibbonItemBase.Visible Property

Gets or sets a value specifying the visibility of the current item.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(true)]
public bool Visible { get; set; }
vb
<DefaultValue(True)>
Public Property Visible As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true, to show the item; otherwise, false.

|

Remarks

Use the Visible property of ribbon items to dynamically change the content of groups. This property enables you to hide and display specific items when certain conditions are met.

To get an item visibility on the client side, use the ASPxClientRibbonItem.GetVisible method.

See Also

GetVisible

Ribbon

RibbonItemBase Class

RibbonItemBase Members

DevExpress.Web Namespace