Class CarouselPanel
Inheritance
System.Object
CarouselPanel
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
[CLSCompliant(false)]
public class CarouselPanel : Canvas
Constructors
CarouselPanel()
Declaration
Fields
_targetRotation
Declaration
protected double _targetRotation
Field Value
_timer
Declaration
protected DispatcherTimer _timer
Field Value
Type |
System.Windows.Threading.DispatcherTimer |
EnableRotationAnimationProperty
Declaration
public static readonly DependencyProperty EnableRotationAnimationProperty
Field Value
Type |
System.Windows.DependencyProperty |
OpacityFractionProperty
Declaration
public static readonly DependencyProperty OpacityFractionProperty
Field Value
Type |
System.Windows.DependencyProperty |
RadiusXProperty
Declaration
public static readonly DependencyProperty RadiusXProperty
Field Value
Type |
System.Windows.DependencyProperty |
RadiusYProperty
Declaration
public static readonly DependencyProperty RadiusYProperty
Field Value
Type |
System.Windows.DependencyProperty |
RotationSpeedProperty
Declaration
public static readonly DependencyProperty RotationSpeedProperty
Field Value
Type |
System.Windows.DependencyProperty |
ScaleFractionProperty
Declaration
public static readonly DependencyProperty ScaleFractionProperty
Field Value
Type |
System.Windows.DependencyProperty |
X_SCALE
Declaration
Field Value
Y_SCALE
Declaration
Field Value
Properties
EnableRotationAnimation
Declaration
public bool EnableRotationAnimation { get; set; }
Property Value
OpacityFraction
Declaration
public double OpacityFraction { get; set; }
Property Value
RadiusX
Declaration
public double RadiusX { get; set; }
Property Value
RadiusY
Declaration
public double RadiusY { get; set; }
Property Value
RotationSpeed
Declaration
public double RotationSpeed { get; set; }
Property Value
ScaleFraction
Declaration
public double ScaleFraction { get; set; }
Property Value
Methods
ArrangeOverride(Size)
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type |
Name |
Description |
System.Windows.Size |
finalSize |
|
Returns
GetScaledSize(Double)
Declaration
protected double GetScaledSize(double degrees)
Parameters
Type |
Name |
Description |
System.Double |
degrees |
|
Returns
GetSelectedItem(FrameworkElement)
Declaration
public int GetSelectedItem(FrameworkElement element)
Parameters
Type |
Name |
Description |
System.Windows.FrameworkElement |
element |
|
Returns
GetSelecteItem(FrameworkElement)
Declaration
[Obsolete("GetSelecteItem is deprecated, please use GetSelectedItem instead.")]
public int GetSelecteItem(FrameworkElement element)
Parameters
Type |
Name |
Description |
System.Windows.FrameworkElement |
element |
|
Returns
GetZValue(Double)
Declaration
protected int GetZValue(double degrees)
Parameters
Type |
Name |
Description |
System.Double |
degrees |
|
Returns
MeasureOverride(Size)
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type |
Name |
Description |
System.Windows.Size |
availableSize |
|
Returns
OnInitialized(EventArgs)
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
SelectElement(FrameworkElement)
Declaration
public void SelectElement(FrameworkElement element)
Parameters
Type |
Name |
Description |
System.Windows.FrameworkElement |
element |
|
SetOpacity(FrameworkElement, Double)
Declaration
protected void SetOpacity(FrameworkElement element, double degrees)
Parameters
Type |
Name |
Description |
System.Windows.FrameworkElement |
element |
|
System.Double |
degrees |
|
TimerTick(Object, EventArgs)
Declaration
protected virtual void TimerTick(object sender, EventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.EventArgs |
e |
|