Back to Devexpress

How to Access the Tab Control to Customize Tabbed UI Behavior in Code

expressappframework-404978-ui-construction-templates-in-blazor-how-to-access-tab-control-in-xaf-blazor.md

latest863 B
Original Source

How to Access the Tab Control to Customize Tabbed UI Behavior in Code

  • Jun 06, 2024
  • 2 minutes to read

XAF ASP.NET Core Blazor applications use the DxTabs component in Tabbed MDI mode. This topic demonstrates how to access and customize this component.

Access the DxTabs Component of the Main Form Template

  1. In Solution Explorer , navigate to the ASP.NET Core Blazor application.
  2. Add a Window Controller to the Controllers folder.
  3. Override the OnActivated method as demonstrated in the following code snippet:

Access a Tab Page Component that Contains the Detail Form Template

  1. In Solution Explorer , navigate to the ASP.NET Core Blazor application.
  2. Add a Window Controller to the Controllers folder.
  3. Override the OnActivated method as demonstrated in the following code snippet: