Skip to content

Latest commit

 

History

History
47 lines (28 loc) · 3.57 KB

File metadata and controls

47 lines (28 loc) · 3.57 KB

XAF - How to access a tab control in a Detail View layout

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

Du2Er0SPZV

ASP.NET Core Blazor

|image

Implementation Details

  1. 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.

  2. 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).

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)