Adding a Listview Field to a Line

Use the Properties view to add fields to Listview lines.

  1. Select the Listview control to see the Properties view.
  2. In Properties, in the left pane, click Lines.
  3. In Listview lines, select the line for which to add the field.
  4. In Fields for click Add.
  5. In the Listview Field dialog:
    Option Description
    Key Select the key with which to associate the field.
    Field width Enter the field width. This value is a percentage, so the values entered should be between 1 – 100 and add up to 100.
    Font options Select the appearance of the font:
    • Bold
    • Italics
    Field format Enter the field format. A standard format string contains a format specifier, which is an alphabetic character, for example, G, that defines the string that represents the object to which it is applied.
    Note: This attribute is supported only on Windows Mobile Platforms.
  6. Click OK.