DevExpress.Wpf.Carousel
Target Platform/Framework: Desktop DevExpress Product Libraries Used: WPF UI components (https://www.devexpress.com/wpf) Available in the following DevExpress Subscription(s): Universal, DXperience, WPF
Install
| Product | Versions |
|---|---|
| .NET | |
| Other |
README
DevExpress WPF Carousel
DevExpress.Wpf.Carousel includes the DevExpress WPF Carousel control. CarouselPanel arranges items along a path and animates them as a user scrolls.
dotnet add package DevExpress.Wpf.Carousel
Key Features
- Custom Item Path:
ItemMovingPathdefines a path the carousel items move along. The carousel can be circular, elliptical, or an arbitrary shape. - Active Item:
ActiveItemandActiveItemIndexget or set the item in the foreground. - Click to Activate:
ActivateItemOnClickmoves the clicked item to the front. - Looping:
IsRepeatenables endless scrolling through the collection.IsInvertedDirectionreverses the travel direction. - Item Dimensions: You can specify a fixed
ItemSize. - Animation Settings:
AnimationTime,DistributionFunction, andParameterSetcontrol how items move and how they are spaced along the path.
Examples
Example: Display a Collection as a Carousel
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:dxca="http://schemas.devexpress.com/winfx/2008/xaml/carousel">
<dxca:CarouselItemsControl ItemsSource="{Binding Photos}"
ActivateItemOnClick="True"
IsRepeat="True">
<dxca:CarouselItemsControl.ItemTemplate>
<DataTemplate>
<Image Source="{Binding Path}" Width="180" />
</DataTemplate>
</dxca:CarouselItemsControl.ItemTemplate>
</dxca:CarouselItemsControl>
</Window>
In this configuration, the carousel behaves as follows:
- Displays one item per element in the
Photoscollection - Brings an item to the foreground when a user clicks it
- Scrolls endlessly instead of stopping at the last item
CarouselItemsControl is a standalone UI component. You can also place a carousel layout inside another items control. To do this, assign CarouselPanel to the control's ItemsPanel property.
Evaluation Period, Pricing Options, and Licensing Terms
Whether you own a license or want to start a 30-day evaluation period, download and register your DevExpress license key. To obtain your key, log in to the DevExpress Download Manager. Use your existing DevExpress.com account or create a new account for free. For key registration instructions, see License Key for DevExpress Products.
If you purchase a license after evaluating a product, re-register your updated DevExpress license key to remove evaluation version warnings/messages.
This package is included in the following commercial subscriptions:
See DevExpress Subscriptions & Licensing for subscription comparison tables, purchasing FAQ, and licensing information.
Related Components/Packages
DevExpress.Wpf.LayoutControl - DevExpress WPF layout, flow, and tile containers.
dotnet add package DevExpress.Wpf.LayoutControl
DevExpress.Wpf.Controls - DevExpress WPF utility and navigation controls.
dotnet add package DevExpress.Wpf.Controls
DevExpress.Wpf - The complete DevExpress WPF Control suite.
dotnet add package DevExpress.Wpf
Documentation
Software Bill of Materials (SBOM)
To access SBOM files for DevExpress packages, please refer to the following article: Software Bill of Materials (SBOM) for DevExpress .NET assemblies/NuGet packages, JavaScript, VCL and other redistributable artifacts.
See Also: Information Security | Security - What You Need to Know
Useful Online Resources
Changes from Previous Version
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.