view Chronosv2/source/DragAndDrop/DragDataWrapper.cs @ 19:09d18d6e5f40

airport work
author stevenh7776 stevenhollidge@hotmail.com
date Thu, 15 Mar 2012 06:59:15 +0000
parents 443821e55f06
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
    }
}