diff Chronosv2/source/Presentation/Widgets/Calendar/CalendarWidget.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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Chronosv2/source/Presentation/Widgets/Calendar/CalendarWidget.cs	Tue Feb 21 17:25:44 2012 +0700
@@ -0,0 +1,65 @@
+using System;
+using Chronos.Presentation.Core.Widgets;
+
+namespace Chronos.Presentation.Widgets
+{
+  /// <summary>
+  /// Calendar widget definition
+  /// </summary>
+  public sealed class CalendarWidget
+      : IWidget
+  {
+    #region · Properties ·
+
+    /// <summary>
+    /// Gets the widget title
+    /// </summary>
+    /// <value></value>
+    public string Title
+    {
+      get { return "Calendar"; }
+    }
+
+    /// <summary>
+    /// Gets the widget description
+    /// </summary>
+    /// <value></value>
+    public string Description
+    {
+      get { return "Calendar"; }
+    }
+
+    /// <summary>
+    /// Gets the widget group
+    /// </summary>
+    /// <value></value>
+    public string Group
+    {
+      get { return "Tools"; }
+    }
+
+    /// <summary>
+    /// Gets the widget icon style
+    /// </summary>
+    /// <value></value>
+    public string IconStyle
+    {
+      get { return String.Empty; }
+    }
+
+    #endregion
+
+    #region · Methods ·
+
+    /// <summary>
+    /// Creates the widget view
+    /// </summary>
+    /// <returns></returns>
+    public System.Windows.FrameworkElement CreateView()
+    {
+      return new CalendarWidgetView();
+    }
+
+    #endregion
+  }
+}