-
Notifications
You must be signed in to change notification settings - Fork 0
/
LottieProgressUITemplateSettings.cs
29 lines (23 loc) · 1.1 KB
/
LottieProgressUITemplateSettings.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using Windows.UI.Xaml;
using Windows.UI;
namespace AnimatedIconPrototype
{
public class LottieProgressUITemplateSettings : DependencyObject
{
public Color ForegroundColor
{
get { return (Color)GetValue(ForegroundColorProperty); }
set { SetValue(ForegroundColorProperty, value); }
}
public static readonly DependencyProperty ForegroundColorProperty =
DependencyProperty.Register("ForegroundColor", typeof(Color), typeof(ProgressUITemplateSettings), new PropertyMetadata(Colors.DarkRed));
public Color BackgroundColor
{
get { return (Color)GetValue(BackgroundColorProperty); }
set { SetValue(BackgroundColorProperty, value); }
}
public static readonly DependencyProperty BackgroundColorProperty =
DependencyProperty.Register("BackgroundColor", typeof(Color), typeof(ProgressUITemplateSettings), new PropertyMetadata(Colors.DarkRed));
// TODO: Add a property for circle arc segment properties etc to support storyboards possibly in the future if we get asks.
}
}