Skip to main content

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

Sets the ribbon visibility.

Namespace: DevExpress.AspNetCore.Office

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

NuGet Package: DevExpress.AspNetCore.Common

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