Mercurial > silverbladetech
comparison 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 |
comparison
equal
deleted
inserted
replaced
9:904a9faadf8b | 10:443821e55f06 |
---|---|
1 using System.Windows; | |
2 | |
3 namespace Chronos.Presentation.DragAndDrop | |
4 { | |
5 public sealed class DragDataWrapper | |
6 { | |
7 #region · Fields · | |
8 | |
9 private DependencyObject source; | |
10 private object data; | |
11 private bool allowChildrenRemove; | |
12 private IDataDropObjectProvider shim; | |
13 | |
14 #endregion | |
15 | |
16 #region · Properties · | |
17 | |
18 public DependencyObject Source | |
19 { | |
20 get { return this.source; } | |
21 set { this.source = value; } | |
22 } | |
23 | |
24 public object Data | |
25 { | |
26 get { return this.data; } | |
27 set { this.data = value; } | |
28 } | |
29 | |
30 public bool AllowChildrenRemove | |
31 { | |
32 get { return this.allowChildrenRemove; } | |
33 set { this.allowChildrenRemove = value; } | |
34 } | |
35 | |
36 public IDataDropObjectProvider Shim | |
37 { | |
38 get { return this.shim; } | |
39 set { this.shim = value; } | |
40 } | |
41 | |
42 #endregion | |
43 | |
44 #region · Constructors · | |
45 | |
46 public DragDataWrapper() | |
47 { | |
48 } | |
49 | |
50 #endregion | |
51 } | |
52 } |