Back to Devexpress

Assign a Standard Image

expressappframework-404201-getting-started-in-depth-tutorial-blazor-customize-data-display-and-view-layout-assign-a-standard-image.md

latest1.1 KB
Original Source

Assign a Standard Image

  • May 26, 2023
  • 2 minutes to read

This lesson explains how to associate an entity class with a standard image from the DevExpress.Images assembly. This image illustrates the entity class in the following sections of the UI:

  • Navigation control
  • Detail View
  • List View

The instructions below describe how to assign images to the entity classes in the Model Editor.

Step-by-Step Instructions

  1. In the MySolution.Module project, open the Model.DesignedDiffs.xafml file in the Model Editor.

  2. Navigate to the BOModel | MySolution.Module.BusinessObjects | Employee node. In the Appearance section of the node’s properties, locate the ImageName property and set its value to BO_Employee.

  3. Run the application to see the new image in the UI:

  4. In the same manner, assign images to the following classes:

Next Lesson

Reuse Implemented Functionality from Additional Modules