Skip to main content

ASPxClientHtmlEditor.SetRibbonContextTabCategoryVisible(categoryName, active) Method

Specifies the visibility of a ribbon context tab category specified by its name.

#Declaration

TypeScript
SetRibbonContextTabCategoryVisible(
    categoryName: string,
    active: string
): void

#Parameters

Name Type Description
categoryName string

A String value that is the RibbonContextTabCategory.Name property value of the required category.

active string

true to make a category visible; false to make it hidden.

#Remarks

Use the SetRibbonContextTabCategoryVisible method to dynamically define a ribbon context tab category’s visible state on the client side. The initial visibility can be defined using the RibbonContextTabCategory.ClientVisible property.

Note

If a category server RibbonContextTabCategory.Visible property is set to false, the category is not rendered into the web page at all, so it can’t be manipulated on the client side.

#Online Demo

Ribbon Context Tabs

See Also