|
| 1 | +namespace DevWinUI; |
| 2 | + |
| 3 | +public partial class CoverFlow |
| 4 | +{ |
| 5 | + public EasingFunctionBase EasingFunction |
| 6 | + { |
| 7 | + get { return (EasingFunctionBase)GetValue(EasingFunctionProperty); } |
| 8 | + set { SetValue(EasingFunctionProperty, value); } |
| 9 | + } |
| 10 | + public static readonly DependencyProperty EasingFunctionProperty = |
| 11 | + DependencyProperty.Register(nameof(EasingFunction), typeof(EasingFunctionBase), typeof(CoverFlow), null); |
| 12 | + |
| 13 | + public Double ManipulationThreshold |
| 14 | + { |
| 15 | + get { return (Double)GetValue(ManipulationThresholdProperty); } |
| 16 | + set { SetValue(ManipulationThresholdProperty, value); } |
| 17 | + } |
| 18 | + public static readonly DependencyProperty ManipulationThresholdProperty = |
| 19 | + DependencyProperty.Register(nameof(ManipulationThreshold), typeof(Double), typeof(CoverFlow), new PropertyMetadata(80d)); |
| 20 | + |
| 21 | + public Duration PageDuration |
| 22 | + { |
| 23 | + get { return (Duration)GetValue(PageDurationProperty); } |
| 24 | + set { SetValue(PageDurationProperty, value); } |
| 25 | + } |
| 26 | + public static readonly DependencyProperty PageDurationProperty = |
| 27 | + DependencyProperty.Register(nameof(PageDuration), typeof(Duration), typeof(CoverFlow), null); |
| 28 | + |
| 29 | + public double RotationAngle |
| 30 | + { |
| 31 | + get { return (double)GetValue(RotationAngleProperty); } |
| 32 | + set { SetValue(RotationAngleProperty, value); } |
| 33 | + } |
| 34 | + public static readonly DependencyProperty RotationAngleProperty = |
| 35 | + DependencyProperty.Register(nameof(RotationAngle), typeof(double), typeof(CoverFlow), new PropertyMetadata(45d, new PropertyChangedCallback(CoverFlow.OnValuesChanged))); |
| 36 | + |
| 37 | + public new double Scale |
| 38 | + { |
| 39 | + get { return (double)GetValue(ScaleProperty); } |
| 40 | + set { SetValue(ScaleProperty, value); } |
| 41 | + } |
| 42 | + public static readonly DependencyProperty ScaleProperty = |
| 43 | + DependencyProperty.Register(nameof(Scale), typeof(double), typeof(CoverFlow), new PropertyMetadata(.7d, new PropertyChangedCallback(CoverFlow.OnValuesChanged))); |
| 44 | + |
| 45 | + public Duration SingleItemDuration |
| 46 | + { |
| 47 | + get { return (Duration)GetValue(SingleItemDurationProperty); } |
| 48 | + set { SetValue(SingleItemDurationProperty, value); } |
| 49 | + } |
| 50 | + public static readonly DependencyProperty SingleItemDurationProperty = |
| 51 | + DependencyProperty.Register(nameof(SingleItemDuration), typeof(Duration), typeof(CoverFlow), null); |
| 52 | + |
| 53 | + public double SpaceBetweenItems |
| 54 | + { |
| 55 | + get { return (double)GetValue(SpaceBetweenItemsProperty); } |
| 56 | + set { SetValue(SpaceBetweenItemsProperty, value); } |
| 57 | + } |
| 58 | + public static readonly DependencyProperty SpaceBetweenItemsProperty = |
| 59 | + DependencyProperty.Register(nameof(SpaceBetweenItems), typeof(double), typeof(CoverFlow), new PropertyMetadata(60d, new PropertyChangedCallback(CoverFlow.OnValuesChanged))); |
| 60 | + |
| 61 | + public double SpaceBetweenSelectedItemAndItems |
| 62 | + { |
| 63 | + get { return (double)GetValue(SpaceBetweenSelectedItemAndItemsProperty); } |
| 64 | + set { SetValue(SpaceBetweenSelectedItemAndItemsProperty, value); } |
| 65 | + } |
| 66 | + public static readonly DependencyProperty SpaceBetweenSelectedItemAndItemsProperty = |
| 67 | + DependencyProperty.Register(nameof(SpaceBetweenSelectedItemAndItems), typeof(double), typeof(CoverFlow), new PropertyMetadata(140d, new PropertyChangedCallback(CoverFlow.OnValuesChanged))); |
| 68 | + |
| 69 | + public double ZDistance |
| 70 | + { |
| 71 | + get { return (double)GetValue(ZDistanceProperty); } |
| 72 | + set { SetValue(ZDistanceProperty, value); } |
| 73 | + } |
| 74 | + public static readonly DependencyProperty ZDistanceProperty = |
| 75 | + DependencyProperty.Register(nameof(ZDistance), typeof(double), typeof(CoverFlow), new PropertyMetadata(0.0d, new PropertyChangedCallback(CoverFlow.OnValuesChanged))); |
| 76 | +} |
0 commit comments