Skip to main content
All docs
V26.1
  • BlazorMdiShowViewStrategy Class

    A Show View Strategy used to display a multiple document interface in XAF ASP.NET Core Blazor applications.

    Namespace: DevExpress.ExpressApp.Blazor

    Assembly: DevExpress.ExpressApp.Blazor.v26.1.dll

    Declaration

    public class BlazorMdiShowViewStrategy :
        BlazorShowViewStrategy

    Remarks

    When the UIType property is set to TabbedMDI, the application UI displays a multiple document interface and uses the BlazorMdiShowViewStrategy to manage the display of Views in the UI.

    XAF ASP.NET Core Blazor applications use the DxTabs component in Tabbed MDI mode. The number of tabs is limited to 10 (default). If the application displays the maximum number of tabs, users cannot open a new tab and receive a corresponding notification.

    Max tab count notification

    You can use the following properties to change the tab count limit or modify the application’s behavior when the tab count exceeds the limit:

    MaxTabLimit
    Limits the number of opened tabs.
    TabOverflowStrategy
    Specifies how to handle overflowing tabs when the number of tabs reaches MaxTabLimit.
    public static int Main(string[] args) {
        BlazorMdiShowViewStrategy.MaxTabLimit = 5;
        BlazorMdiShowViewStrategy.TabOverflowStrategy = TabOverflowStrategy.CloseLeastRecentTab;
        // ...
    

    Inheritance

    Object
    ShowViewStrategyBase
    DevExpress.ExpressApp.Blazor.BlazorShowViewStrategy
    BlazorMdiShowViewStrategy
    See Also