RibbonSettingsBuilder<TContextTabCategoriesBuilder, TContextTabCategoryInfoBuilder, TTabCollectionBuilder, TTabInfoBuilder, TItemCollectionBuilder>.Visible(Boolean) Method

Sets the ribbon visibility.

Namespace: DevExpress.AspNetCore.Office

Assembly: DevExpress.AspNetCore.Common.v21.1.dll

Declaration

public RibbonSettingsBuilder<TContextTabCategoriesBuilder, TContextTabCategoryInfoBuilder, TTabCollectionBuilder, TTabInfoBuilder, TItemCollectionBuilder> Visible(
    bool value
)

Parameters

Name Type Description
value Boolean

true, to display the ribbon; otherwise, false.

Returns

Type Description
RibbonSettingsBuilder<TContextTabCategoriesBuilder, TContextTabCategoryInfoBuilder, TTabCollectionBuilder, TTabInfoBuilder, TItemCollectionBuilder>

An object that can be used to further configure the ribbon settings.

Remarks

@(Html.DevExpress().RichEdit("richEdit")
    .Ribbon(ribbon => ribbon
        .Visible(false)
        //...
See Also