This example implements a View Controller that accesses layout controls and customizes them as required. In particular, the second tab in the tab control should become active when the detail form is opened.
WinForms
ASP.NET Core Blazor
-
This functionality is implemented in the WinCustomizeTabControlViewController.cs and BlazorCustomizeTabControlViewController.cs classes, added to the WinForms and Blazor application projects respectively. Copy these classes to the corresponding projects in your test solution.
-
To identify the layout element by the MyTabbedGroup string, make sure this identifier is specified under the Views | YourBusinessObject_DetailView | Layout node in the Model Editor (invoked for the YourSolutionName.Module/Model.DesignedDiffs.xafml file).
- XAF - How to show the number of nested List View items in tab captions
- How to set active tab in a Web DetailView layout after executing an Action
(you will be redirected to DevExpress.com to submit your response)