comparison Chronosv2/source/Presentation/Widgets/Clock/ClockWidget.cs @ 10:443821e55f06

Initial cleaned up add from Codeplex files
author stevenh7776 stevenhollidge@hotmail.com
date Tue, 21 Feb 2012 17:25:44 +0700
parents
children
comparison
equal deleted inserted replaced
9:904a9faadf8b 10:443821e55f06
1 using System;
2 using Chronos.Presentation.Core.Widgets;
3
4 namespace Chronos.Presentation.Widgets
5 {
6 /// <summary>
7 /// Clock widget definition
8 /// </summary>
9 public sealed class ClockWidget
10 : IWidget
11 {
12 #region · Properties ·
13
14 /// <summary>
15 /// Gets the widget title
16 /// </summary>
17 /// <value></value>
18 public string Title
19 {
20 get { return "Digital Clock"; }
21 }
22
23 /// <summary>
24 /// Gets the widget description
25 /// </summary>
26 /// <value></value>
27 public string Description
28 {
29 get { return "Digital Clock"; }
30 }
31
32 /// <summary>
33 /// Gets the widget group
34 /// </summary>
35 /// <value></value>
36 public string Group
37 {
38 get { return "Tools"; }
39 }
40
41 /// <summary>
42 /// Gets the widget icon style
43 /// </summary>
44 /// <value></value>
45 public string IconStyle
46 {
47 get { return String.Empty; }
48 }
49
50 #endregion
51
52 #region · Methods ·
53
54 /// <summary>
55 /// Creates the widget view
56 /// </summary>
57 /// <returns></returns>
58 public System.Windows.FrameworkElement CreateView()
59 {
60 return new ClockWidgetView();
61 }
62
63 #endregion
64 }
65 }