25 lines
682 B
C#
25 lines
682 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows;
|
|
|
|
namespace Wpf_AiSportsMicrospace.MyUserControl
|
|
{
|
|
public class CoverFlowItem : DependencyObject
|
|
{
|
|
public Uri ImageUri { get; set; }
|
|
|
|
public double Progress
|
|
{
|
|
get => (double)GetValue(ProgressProperty);
|
|
set => SetValue(ProgressProperty, value);
|
|
}
|
|
|
|
public static readonly DependencyProperty ProgressProperty =
|
|
DependencyProperty.Register(nameof(Progress), typeof(double), typeof(CoverFlowItem), new PropertyMetadata(0.0));
|
|
}
|
|
}
|