view 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 source

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
    }
}