ASPxClientHtmlEditor.SetRibbonContextTabCategoryVisible(categoryName, active) Method
Specifies the visibility of a ribbon context tab category specified by its name.
Declaration
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 |
|
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
See Also