All docs
V20.2
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.

Use a Multiline Editor for String Properties

This lesson explains how to display a multiline editor for string properties.

In this lesson, you will enable a multiline text box for the Task.Subject property 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 | DevExpress.Persistent.BaseImpl | Task | OwnMembers node.
  3. For the Subject child node, set the properties as follows:

    • Set the RowCount property to 2.

      This creates a two-line editor for the Subject property.

    • Set the Size property to 200.

      This allows a user to enter up to 200 symbols. You can also apply the Size attribute in code.

      xaf blazor multiline text box

  • Run the application. Open a detail form for a DemoTask object. The Subject property uses a two-line memo editor.

Next Lesson

Add an Item to the Navigation Control

See Also