Skip to main content
All docs
V25.2
  • IRibbonApplicationTabItem.Items Property

    Returns a collection of nested items under the application tab item.

    Namespace: DevExpress.Blazor.Ribbon

    Assembly: DevExpress.Blazor.v25.2.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    IEnumerable<IRibbonApplicationTabItem> Items { get; }

    Property Value

    Type Description
    IEnumerable<IRibbonApplicationTabItem>

    Ribbon application tab items.

    Remarks

    Use the Items property to access items nested under the Ribbon application tab item. You can obtain an individual item by its index.

    <DxRibbon>
        <DxRibbonApplicationTab Text="File">
            <DxRibbonApplicationTabItem Text="New"
                                        @ref="applicationTabItemRef">
                <DxRibbonApplicationTabItem Text="Document" />
                <DxRibbonApplicationTabItem Text="Image"
                                            Visible="false" />
            </DxRibbonApplicationTabItem>
            <DxRibbonApplicationTabItem Text="Open" />
            <DxRibbonApplicationTabItem Text="Save" />
        </DxRibbonApplicationTab>
        <DxRibbonTab Text="Home">
            <DxRibbonGroup>
                <DxRibbonItem Text="Allow Create Image"
                              Click="ShowNewImage" />
            </DxRibbonGroup>
        </DxRibbonTab>
    </DxRibbon>
    
    @code {
        IRibbonApplicationTabItem applicationTabItemRef;
    
        void ShowNewImage(RibbonItemClickEventArgs e) {
            applicationTabItemRef.Items.ElementAt(1).Visible = true;
        }
    }
    
    See Also