Skip to main content
A newer version of this page is available. .
All docs
V21.1
.NET Framework 4.5.2+

Change Field Visibility in a List View

This lesson explains how to select columns displayed in a List View. We will customize the Contact List View at design-time.

Note

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

Step-by-Step Instructions

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

  2. Click the Views | MySolution.Module.BusinessObjects | Contact_ListView | Columns node to open the Grid List Editor Designer. Right-click the table header and select the Column Chooser.

    Display Column Chooser

  3. Drag columns to and from the Customization window to display the following columns in the List View: FullName, Department, Position, and Email.

    Manage column visibility in the Column Chooser

  4. Run the application. The FullName, Department, Position, and Email columns are displayed in the Contact List View.

    Result of the List View layout customization

Detailed Explanation

Additional Layout Customization

You can also resize and group columns in the Grid List Editor Designer. See the following help section for more information: Design-Time Customization.

Reset Column Settings

Invoke the Model Editor right-click the Views | Contact_ListView node and select Reset Differences to display the List View with the default column settings.

Next Lesson

Filter List Views