Compartir a través de


General, List Properties Dialog Box

Use the General page of the List Properties dialog box to specify appearance and paging properties for a System.Web.UI.MobileControls.List control.

To access this dialog box

  1. In Visual Web Developer, open or create a new Mobile Web Form.

  2. Switch to Design view.

  3. From the Mobile Web Forms tab of the Toolbox, drag a System.Web.UI.MobileControls.List control into the mobile form box on the page.

  4. Right-click the System.Web.UI.MobileControls.List control and click Show Smart Tag.

    The List Tasks window opens.

  5. Click Property Builder.

    The List Properties dialog box opens.

  6. Click the General tab.

Tasks

UI Elements

Appearance

  • Decoration
    Selects a bulleted list, a numbered list, or a list without any type of decoration.

Paging

  • ItemCount
    Contains the number of items to render in the list. A value of 0 indicates automatic pagination.

  • ItemsPerPage
    Specifies the number of list items per page when the list is paginated.

Remarks

If the ItemsAsLinks property is set to true, the field associated with the DataTextField property contains text to use as labels for links. The field associated with the DataValueField property contains a list of navigation links. You can use the Items tab to set these properties as well. For more information, see Items, List Properties Dialog Box.

See Also

Tasks

How to: Add and Configure a List Control

Reference

System.Web.UI.MobileControls.List

Items, List Properties Dialog Box

List Properties Dialog Box

Concepts

Introduction to the List Control

Using Data Binding with ASP.NET Mobile Controls

ASP.NET Device Filtering Overview

Other Resources

Developing Adapters for ASP.NET Server Controls

ASP.NET Web Sites for Mobile Devices