view Chronosv2/source/DragAndDrop/DragDataWrapper.cs @ 25:81f9b72a44ce

Tidy up
author adminsh@apollo
date Tue, 20 Mar 2012 21:22:00 +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
    }
}