Skip to main content
A newer version of this page is available. .

CarouselPanel.VisibleItemCount Property

Gets or sets the number of items that are visible to an end-user along a path at one time. This proeprty is not in effect when a path is specified via the CarouselPanel.PointPathFunction property.

Namespace: DevExpress.Xpf.Carousel

Assembly: DevExpress.Xpf.Carousel.v19.2.dll

Declaration

public int VisibleItemCount { get; set; }

Property Value

Type Description
Int32

An integer value that specifies the number of items that are visible to an end-user along a path at one time.

Remarks

A path along which a Carousel’s items are arranged can be specified via the CarouselPanel.ItemMovingPath or CarouselPanel.PointPathFunction property. When a path is specified via the CarouselPanel.ItemMovingPath property, the Carousel’s items are evenly arranged along the path. The number of items that are simultaneously visible to an end-user is specified by the VisibleItemCount property.

When a path is specified via the CarouselPanel.PointPathFunction property, the VisibleItemCount property is ignored.

Note

The current version of DXCarousel is designed to work with three or more items.

The following code snippets (auto-collected from DevExpress Examples) contain references to the VisibleItemCount property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also