Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CarouselPanel class

Applies to Windows and Windows Phone

Represents a panel that arranges its items in a line and circles around to the first item when the last item is reached.

Inheritance

Object
  DependencyObject
    UIElement
      FrameworkElement
        Panel
          VirtualizingPanel
            CarouselPanel

Syntax


public class CarouselPanel : VirtualizingPanel,
    IScrollSnapPointsInfo


<!--somewhere within items panel templates-->
<CarouselPanel .../>

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]
[WebHostHidden()]

Members

The CarouselPanel class has these types of members:

Constructors

The CarouselPanel class has these constructors.

ConstructorDescription
CarouselPanel

 

Events

The CarouselPanel class has these events.

EventDescription
DataContextChanged (Inherited from FrameworkElement)
DoubleTapped (Inherited from UIElement)
DragEnter (Inherited from UIElement)
DragLeave (Inherited from UIElement)
DragOver (Inherited from UIElement)
Drop (Inherited from UIElement)
GotFocus (Inherited from UIElement)
Holding (Inherited from UIElement)
HorizontalSnapPointsChanged
KeyDown (Inherited from UIElement)
KeyUp (Inherited from UIElement)
LayoutUpdated (Inherited from FrameworkElement)
Loaded (Inherited from FrameworkElement)
LostFocus (Inherited from UIElement)
ManipulationCompleted (Inherited from UIElement)
ManipulationDelta (Inherited from UIElement)
ManipulationInertiaStarting (Inherited from UIElement)
ManipulationStarted (Inherited from UIElement)
ManipulationStarting (Inherited from UIElement)
PointerCanceled (Inherited from UIElement)
PointerCaptureLost (Inherited from UIElement)
PointerEntered (Inherited from UIElement)
PointerExited (Inherited from UIElement)
PointerMoved (Inherited from UIElement)
PointerPressed (Inherited from UIElement)
PointerReleased (Inherited from UIElement)
PointerWheelChanged (Inherited from UIElement)
RightTapped (Inherited from UIElement)
SizeChanged (Inherited from FrameworkElement)
Tapped (Inherited from UIElement)
Unloaded (Inherited from FrameworkElement)
VerticalSnapPointsChanged

 

Methods

The CarouselPanel class has these methods. It also inherits methods from the Object class.

MethodDescription
AddHandler (Inherited from UIElement)
AddInternalChild (Inherited from VirtualizingPanel)
Arrange (Inherited from UIElement)
ArrangeOverride (Inherited from FrameworkElement)
BringIndexIntoView (Inherited from VirtualizingPanel)
CancelDirectManipulations (Inherited from UIElement)
CapturePointer (Inherited from UIElement)
ClearValue (Inherited from DependencyObject)
FindName (Inherited from FrameworkElement)
FindSubElementsForTouchTargeting (Inherited from UIElement)
GetAnimationBaseValue (Inherited from DependencyObject)
GetBindingExpression (Inherited from FrameworkElement)
GetIrregularSnapPoints
GetRegularSnapPoints
GetValue (Inherited from DependencyObject)
GoToElementStateCore (Inherited from FrameworkElement)
InsertInternalChild (Inherited from VirtualizingPanel)
InvalidateArrange (Inherited from UIElement)
InvalidateMeasure (Inherited from UIElement)
LineDown
LineLeft
LineRight
LineUp
MakeVisible
Measure (Inherited from UIElement)
MeasureOverride (Inherited from FrameworkElement)
MouseWheelDown
MouseWheelLeft
MouseWheelRight
MouseWheelUp
OnApplyTemplate (Inherited from FrameworkElement)
OnClearChildren (Inherited from VirtualizingPanel)
OnCreateAutomationPeer (Inherited from UIElement)
OnDisconnectVisualChildren (Inherited from UIElement)
OnItemsChanged (Inherited from VirtualizingPanel)
PageDown
PageLeft
PageRight
PageUp
ReadLocalValue (Inherited from DependencyObject)
ReleasePointerCapture (Inherited from UIElement)
ReleasePointerCaptures (Inherited from UIElement)
RemoveHandler (Inherited from UIElement)
RemoveInternalChildRange (Inherited from VirtualizingPanel)
SetBinding (Inherited from FrameworkElement)
SetHorizontalOffset
SetValue (Inherited from DependencyObject)
SetVerticalOffset
TransformToVisual (Inherited from UIElement)
UpdateLayout (Inherited from UIElement)

 

Properties

The CarouselPanel class has these properties.

PropertyAccess typeDescription

ActualHeight

Read-only (Inherited from FrameworkElement)

ActualWidth

Read-only (Inherited from FrameworkElement)

AllowDrop

Read/write (Inherited from UIElement)

AreHorizontalSnapPointsRegular

Read-only

AreVerticalSnapPointsRegular

Read-only

Background

Read/write (Inherited from Panel)

BaseUri

Read-only (Inherited from FrameworkElement)

CacheMode

Read/write (Inherited from UIElement)

CanHorizontallyScroll

Read/write

CanVerticallyScroll

Read/write

Children

Read-only (Inherited from Panel)

ChildrenTransitions

Read/write (Inherited from Panel)

Clip

Read/write (Inherited from UIElement)

CompositeMode

Read/write (Inherited from UIElement)

DataContext

Read/write (Inherited from FrameworkElement)

DesiredSize

Read-only (Inherited from UIElement)

Dispatcher

Read-only (Inherited from DependencyObject)

ExtentHeight

Read-only

ExtentWidth

Read-only

FlowDirection

Read/write (Inherited from FrameworkElement)

Height

Read/write (Inherited from FrameworkElement)

HorizontalAlignment

Read/write (Inherited from FrameworkElement)

HorizontalOffset

Read-only

IsDoubleTapEnabled

Read/write (Inherited from UIElement)

IsHitTestVisible

Read/write (Inherited from UIElement)

IsHoldingEnabled

Read/write (Inherited from UIElement)

IsItemsHost

Read-only (Inherited from Panel)

IsRightTapEnabled

Read/write (Inherited from UIElement)

IsTapEnabled

Read/write (Inherited from UIElement)

ItemContainerGenerator

Read-only (Inherited from VirtualizingPanel)

Language

Read/write (Inherited from FrameworkElement)

ManipulationMode

Read/write (Inherited from UIElement)

Margin

Read/write (Inherited from FrameworkElement)

MaxHeight

Read/write (Inherited from FrameworkElement)

MaxWidth

Read/write (Inherited from FrameworkElement)

MinHeight

Read/write (Inherited from FrameworkElement)

MinWidth

Read/write (Inherited from FrameworkElement)

Name

Read/write (Inherited from FrameworkElement)

Opacity

Read/write (Inherited from UIElement)

Parent

Read-only (Inherited from FrameworkElement)

PointerCaptures

Read-only (Inherited from UIElement)

Projection

Read/write (Inherited from UIElement)

RenderSize

Read-only (Inherited from UIElement)

RenderTransform

Read/write (Inherited from UIElement)

RenderTransformOrigin

Read/write (Inherited from UIElement)

RequestedTheme

Read/write (Inherited from FrameworkElement)

Resources

Read/write (Inherited from FrameworkElement)

ScrollOwner

Read/write

Style

Read/write (Inherited from FrameworkElement)

Tag

Read/write (Inherited from FrameworkElement)

Transitions

Read/write (Inherited from UIElement)

Triggers

Read-only (Inherited from FrameworkElement)

UseLayoutRounding

Read/write (Inherited from UIElement)

VerticalAlignment

Read/write (Inherited from FrameworkElement)

VerticalOffset

Read-only

ViewportHeight

Read-only

ViewportWidth

Read-only

Visibility

Read/write (Inherited from UIElement)

Width

Read/write (Inherited from FrameworkElement)

 

Remarks

Note  CarouselPanel can't be used as a stand-alone control, it can only be used as the ItemsPanel of an ItemsControl. It's the default ItemsPanel for the ComboBox control, and is not supported for use with any other ItemsControl.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls.Primitives
Windows::UI::Xaml::Controls::Primitives [C++]

Metadata

Windows.winmd

See also

VirtualizingPanel
IScrollSnapPointsInfo

 

 

Show:
© 2014 Microsoft