ASPxClientRibbon.SetContextTabCategoryVisible(categoryName, visible) Method
In This Article
Specifies the visibility of a context tab category specified by its name.
#Declaration
TypeScript
SetContextTabCategoryVisible(
categoryName: string,
visible: boolean
): void
#Parameters
Name | Type | Description |
---|---|---|
category |
string | A String value that is the Ribbon |
visible | boolean |
|
#Remarks
Use the SetContextTabCategoryVisible method to dynamically define a context tab category‘s visible state on the client side. The category initial visibility can be defined by using the RibbonContextTabCategory.ClientVisible property.
Note
If a category server Ribbonfalse
, the category is not rendered into the web page at all, so it can’t be manipulated on the client side.
#Online Demo
See Also