Search Results for

    Show / Hide Table of Contents

    Class Carousel

    The class implementing a powerful Carousel control.

    Namespace: Binarymission.WPF.Controls.Containers
    Assembly: Binarymission.WPF.Controls.Carousel.dll
    Syntax
    public class Carousel : ItemsControl

    Constructors

    Carousel()

    Initializes a new instance of the Carousel class.

    Declaration
    public Carousel()

    Fields

    MoveToLeft

    MoveToLeft routed command

    Declaration
    public static RoutedCommand MoveToLeft
    Field Value
    Type Description
    RoutedCommand

    MoveToRight

    MoveToRight routed command

    Declaration
    public static RoutedCommand MoveToRight
    Field Value
    Type Description
    RoutedCommand

    Properties

    Camera

    Gets or sets the PerspectiveCamera object for the carousel.

    Declaration
    public PerspectiveCamera Camera { get; set; }

    CarouselViewport3DAmbientLightColor

    Gets or sets the color of the carousel viewport 3D ambient light.

    Declaration
    public Color CarouselViewport3DAmbientLightColor { get; set; }

    CarouselViewport3DCamera

    Gets or sets the carousel viewport 3D PerspectiveCamera object.

    Declaration
    public Camera CarouselViewport3DCamera { get; set; }

    DistanceFromCentreToUser

    Gets or sets the distance from centre of the carousel viewport, to the viewing user.

    Declaration
    public double DistanceFromCentreToUser { get; set; }

    GapBetweenCurrentDisplayFrontItemAndOthers

    Gets or sets the gap between current display item in the front and others in the background.

    Declaration
    public double GapBetweenCurrentDisplayFrontItemAndOthers { get; set; }

    GapBetweenItems

    Gets or sets the gap between items.

    Declaration
    public double GapBetweenItems { get; set; }

    IsReflectionRenderingEnabled

    Gets or sets a value indicating whether this instance is reflection rendering enabled.

    Declaration
    public bool IsReflectionRenderingEnabled { get; set; }

    ItemDimension

    Gets or sets the carousel item dimension.

    Declaration
    public Size ItemDimension { get; set; }

    ItemRenderAngle

    Gets or sets the item render angle.

    Declaration
    public double ItemRenderAngle { get; set; }

    SelectedIndex

    Gets or sets the index of the selected carousel item.

    Declaration
    public int SelectedIndex { get; set; }

    VisualChildrenCount

    Declaration
    protected override int VisualChildrenCount { get; }

    Methods

    ClearContainerForItemOverride(DependencyObject, Object)

    Declaration
    protected override void ClearContainerForItemOverride(DependencyObject element, object item)
    Parameters
    Type Name Description
    DependencyObject element
    Object item

    OnApplyTemplate()

    Declaration
    public override void OnApplyTemplate()

    OnMouseWheel(MouseWheelEventArgs)

    Declaration
    protected override void OnMouseWheel(MouseWheelEventArgs e)
    Parameters
    Type Name Description
    MouseWheelEventArgs e

    PrepareContainerForItemOverride(DependencyObject, Object)

    Declaration
    protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
    Parameters
    Type Name Description
    DependencyObject element
    Object item

    Events

    SelectedIndexChanged

    Occurs when the selected index in the carousel has changed.

    Declaration
    public event EventHandler SelectedIndexChanged
    Event Type
    Type Description
    EventHandler
    In This Article
    Back to top Copyright © Binarymission Technologies Ltd., UK.