Mercurial > silverbladetech
diff Chronosv2/source/DragAndDrop/DragDataWrapper.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/DragAndDrop/DragDataWrapper.cs Tue Feb 21 17:25:44 2012 +0700 @@ -0,0 +1,52 @@ +using System.Windows; + +namespace Chronos.Presentation.DragAndDrop +{ + public sealed class DragDataWrapper + { + #region · Fields · + + private DependencyObject source; + private object data; + private bool allowChildrenRemove; + private IDataDropObjectProvider shim; + + #endregion + + #region · Properties · + + public DependencyObject Source + { + get { return this.source; } + set { this.source = value; } + } + + public object Data + { + get { return this.data; } + set { this.data = value; } + } + + public bool AllowChildrenRemove + { + get { return this.allowChildrenRemove; } + set { this.allowChildrenRemove = value; } + } + + public IDataDropObjectProvider Shim + { + get { return this.shim; } + set { this.shim = value; } + } + + #endregion + + #region · Constructors · + + public DragDataWrapper() + { + } + + #endregion + } +}