Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Wpf.Carousel

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.

See Also