Mercurial > silverbladetech
view Chronosv2/source/Presentation/Widgets/Clock/ClockWidget.cs @ 26:045dac571339
Working on data binding to a user control
author | adminsh@apollo |
---|---|
date | Wed, 21 Mar 2012 15:39:53 +0000 |
parents | 443821e55f06 |
children |
line wrap: on
line source
using System; using Chronos.Presentation.Core.Widgets; namespace Chronos.Presentation.Widgets { /// <summary> /// Clock widget definition /// </summary> public sealed class ClockWidget : IWidget { #region · Properties · /// <summary> /// Gets the widget title /// </summary> /// <value></value> public string Title { get { return "Digital Clock"; } } /// <summary> /// Gets the widget description /// </summary> /// <value></value> public string Description { get { return "Digital Clock"; } } /// <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 ClockWidgetView(); } #endregion } }