Edit

Share via


Carousel Class

Definition

A modern UI Carousel control. Really flexible. Works with touch, keyboard, mouse.

public class Carousel : Windows.UI.Xaml.Controls.ItemsControl
type Carousel = class
    inherit ItemsControl
Public Class Carousel
Inherits ItemsControl
Inheritance
Windows.UI.Xaml.Controls.ItemsControl
Carousel

Constructors

Carousel()

Initializes a new instance of the Carousel class.

Fields

EasingFunctionProperty

Identifies the EasingFunction dependency property

InvertPositiveProperty

Identifies the InvertPositive dependency property.

ItemDepthProperty

Identifies the ItemDepth dependency property.

ItemMarginProperty

Identifies the ItemMargin dependency property

ItemRotationXProperty

Identifies the ItemRotationX dependency property.

ItemRotationYProperty

Identifies the ItemRotationY dependency property.

ItemRotationZProperty

Identifies the ItemRotationZ dependency property.

OrientationProperty

Identifies the Orientation dependency property.

SelectedIndexProperty

Identifies the SelectedIndex dependency property.

SelectedItemProperty

Identifies the SelectedItem dependency property.

TransitionDurationProperty

Identifies the TransitionDuration dependency property.

Properties

EasingFunction

Gets or sets easing function to apply for each transition.

InvertPositive

Gets or sets a value indicating whether the items rendered transformations should be opposite compared to the selected item If false, all the items (except the selected item) will have the exact same transformations If true, all the items where index > selected index will have an opposite transformation (Rotation X Y and Z will be multiply by -1)

ItemDepth

Gets or sets the depth of items that are not selected.

ItemMargin

Gets or sets the margin for items.

ItemRotationX

Gets or sets rotation angle on X

ItemRotationY

Gets or sets rotation angle on Y

ItemRotationZ

Gets or sets rotation angle on Z

Orientation

Gets or sets the Carousel orientation. Horizontal or Vertical

SelectedIndex

Gets or sets the index of the selected item.

SelectedItem

Gets or sets the selected item.

TransitionDuration

Gets or sets duration of the easing function animation (ms).

Methods

ClearContainerForItemOverride(DependencyObject, Object) Windows.UI.Xaml.Controls.ItemsControl.ClearContainerForItemOverride(Windows.UI.Xaml.DependencyObject,System.Object)
GetContainerForItemOverride()

Returns the container used for each item

IsItemItsOwnContainerOverride(Object) Windows.UI.Xaml.Controls.ItemsControl.IsItemItsOwnContainerOverride(System.Object)
OnCreateAutomationPeer()

Creates AutomationPeer (Windows.UI.Xaml.UIElement.OnCreateAutomationPeer)

PrepareContainerForItemOverride(DependencyObject, Object) Windows.UI.Xaml.Controls.ItemsControl.PrepareContainerForItemOverride(Windows.UI.Xaml.DependencyObject,System.Object)

Events

SelectionChanged

Occurs when the selected item changes.

Applies to