Updated Carousel (markdown)

master
DianeXceed 9 years ago
parent
commit
3164e5d20c
  1. 66
      Carousel.md

66
Carousel.md

@ -5,38 +5,40 @@ Derives from AnimationPanel
Positions the elements in a carousel mode with a centered element in front. Positions the elements in a carousel mode with a centered element in front.
![](Carousel_carousel.jpg) [[Carousel_carousel.jpg]]
## Properties ### Properties
|| Property || Description | Property | Description |
| * | All the Properties from [Canvas](Canvas) Panel | --- | --- |
| AngularOffset | Gets or sets the rotation on the carousel from the children. | * | All the Properties from [[Canvas]] Panel |
| AngularExtend | Gets or sets the extension of the carousel (360 is a perfect circle). | AngularOffset | Gets or sets the rotation on the carousel from the children. |
| AreChildrenScaled | Gets or sets if the children in the back are smaller than the ones in the front. | AngularExtend | Gets or sets the extension of the carousel (360 is a perfect circle). |
| AreChildrenOrdered | Gets or sets is the children are ordered in the carousel. | AreChildrenScaled | Gets or sets if the children in the back are smaller than the ones in the front. |
| CenteredChild | Gets the center child in the carousel. | AreChildrenOrdered | Gets or sets is the children are ordered in the carousel. |
| DistantChildScale | Gets or sets the children scale for non-centered children. | CenteredChild | Gets the center child in the carousel. |
| MaximumAngularSeparation | Gets or sets the maximum angle between children. | DistantChildScale | Gets or sets the children scale for non-centered children. |
| MaximumRadius | Gets or sets the maximum radius in the carousel. | MaximumAngularSeparation | Gets or sets the maximum angle between children. |
| MinimumAngularSeparation | Gets or sets the minimum angle between children. | MaximumRadius | Gets or sets the maximum radius in the carousel. |
| MinimumRadius | Gets or sets the minimum radius in the carousel. | MinimumAngularSeparation | Gets or sets the minimum angle between children. |
| Orientation | Gets or sets the orientation of the carousel (Vertical or Horizontal). | MinimumRadius | Gets or sets the minimum radius in the carousel. |
| Radius | Gets the radius in the carousel. | Orientation | Gets or sets the orientation of the carousel (Vertical or Horizontal). |
| Tilt | Gets or sets the tilt angle of the carousel. | Radius | Gets the radius in the carousel. |
| Tilt | Gets or sets the tilt angle of the carousel. |
## Events ### Events
|| Event || Description | Event | Description |
| * | All the Events from [Canvas](Canvas) Panel. | --- | --- |
| * | All the Events from [[Canvas]] Panel. |
## Methods ### Methods
|| Method || Description | Method | Description |
| CenterChild( UIElement child, TimeSpan animationDuration, bool perQuarterTurn ) | Moves child to the front center of the carousel. | --- | --- |
| ReorderChildrenAroundChild( UIElement child ) | This function will reorder the children inside the panel based on the given child. | CenterChild | Moves child to the front center of the carousel. |
| StopAnimation() | Stop any active animation. | ReorderChildrenAroundChild | Reorders the children inside the panel based on the given child. |
| GetChildOffset( DependencyObject d ) | Gets the ChildOffset property. | StopAnimation | Stops any active animation. |
| SetChildOffset( DependencyObject d, double value ) | sets the ChildOffset property. | GetChildOffset | Gets the ChildOffset property. |
| GetChildScale( DependencyObject d ) | Gets the ChildScale property. | SetChildOffset | Sets the ChildOffset property. |
| SetChildScale( DependencyObject d, double value ) | Sets the ChildScale property. | GetChildScale | Gets the ChildScale property. |
| GetChildZIndex( DependencyObject d ) | Gets or sets the ChildZIndex property. | SetChildScale | Sets the ChildScale property. |
| SetChildZIndex( DependencyObject d, int value ) | sets the ChildZIndex property. | GetChildZIndex | Gets the ChildZIndex property. |
--- | SetChildZIndex | Sets the ChildZIndex property. |

Loading…
Cancel
Save