CarouselPanel.ActiveItem Property

Gets or sets the active item.

Namespace: DevExpress.Xpf.Carousel

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

Declaration

public UIElement ActiveItem { get; set; }
Public Property ActiveItem As UIElement

Property Value

Type Description
UIElement

A UIElement object representing the required item.

Remarks

Use this property to navigate to a particular item programmatically. Note that you can also allow end-users to navigate between items. See the CarouselPanel.ActivateItemOnClick property and CarouselNavigator class descriptions for more information.

If it's easier for you to obtain an item index, instead of the object representing the required item, use the CarouselPanel.ActiveItemIndex property for item activation tasks.

Implements

DevExpress.Xpf.Carousel.ICarouselPanel.ActiveItem
See Also