Skip to main content

CarouselPanel.GetCarousel(ItemsControl) Method

Gets the value of the CarouselPanel.Carousel attached property for the specified object.

Namespace: DevExpress.Xpf.Carousel

Assembly: DevExpress.Xpf.Carousel.v24.1.dll

NuGet Package: DevExpress.Wpf.Carousel

Declaration

public static CarouselPanel GetCarousel(
    ItemsControl itemsControl
)

Parameters

Name Type Description
itemsControl ItemsControl

An ItemsControl object whose value of the CarouselPanel attached property is to be returned.

Returns

Type Description
CarouselPanel

A CarouselPanel object that is used to render items belonging to the specified itemsControl.

See Also