Back to Devexpress

Access the Settings of a Property Editor in a Detail View

expressappframework-402153-getting-started-in-depth-tutorial-blazor-customize-data-display-and-view-layout-access-editor-settings.md

latest3.2 KB
Original Source

Access the Settings of a Property Editor in a Detail View

  • Jun 26, 2025
  • 3 minutes to read

This lesson explains how to access editors in a Detail View and change their settings.

The instructions below show how to make the Birthday property editor display a scrollable date picker in its drop-down window.

Note

Before you proceed, take a moment to review the previous lessons:

Step-by-Step Instructions

  1. In the MySolution.Blazor.Server and MySolution.Win projects, add a View Controller to the Controllers folder. Name the new controller DateEditCalendarController. Specify the controller ancestor class ObjectViewController<ViewType, ObjectType>:

  2. Override the OnActivated method. Use the DetailViewExtensions.CustomizeViewItemControl method to access the Birthday property editor settings:

  3. Run the application and open the Employee Detail View. The Birthday editor shows a scrollable date picker in its drop-down window:

Tip

For general information on Property Editor architecture and UI Controls used by XAF, review the following articles:

Next Lesson

Format a Property Value

See Also

Controllers (UI Logic & Interaction)

Ways to Access UI Elements and Their Controls

Customize a Built-in Property Editor (Blazor)

How to: Access the Grid Component in a List View