All docs
V21.2
21.2
21.1
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

Format a Business Object Caption

This lesson explains how to format a caption of a business object’s detail form.

blazor tutorial detail view caption

Note

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

Step-by-Step Instructions

  1. Open the Model.DesignedDiffs.xafml file in the MySolution.Module project to invoke the Model Editor.
  2. In the Model Editor, navigate to the BOModel | MySolution.Module.BusinessObjects node. Select the Contact node.
  3. Set the ObjectCaptionFormat property value to {0:FullName} from the {0:Department} in the class properties shown on the right.

    blazor tutorial formatbusiness object caption

  4. Run the application. Open a detail form for a Contact object. The following image shows the caption:

    blazor tutorial formatbusiness object caption

Next Lesson

Create a Calculated Property

See Also