aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.DAL.Local/Properties/AssemblyInfo.cs
blob: db56a1e950a2bf67cda5141a8e91fcc2cfba5f5c (plain)
1
2
3
4
5
6
7
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

[assembly: AssemblyTitle("Tango - Local Data Access Layer")]
[assembly: AssemblyVersion("2.0.16.1737")]
[assembly: ComVisible(false)]
highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace Tango.DragAndDrop
{
    /// <summary>
    /// Represents the <see cref="DragAndDropService.DropEvent"/> attached event arguments.
    /// </summary>
    /// <seealso cref="System.Windows.RoutedEventArgs" />
    /// <seealso cref="DragAndDropService"/>
    /// <seealso cref="DraggingSurface"/>
    public class DropEventArgs : RoutedEventArgs
    {
        /// <summary>
        /// Gets or sets the position within the droppable element.
        /// </summary>
        public Point Position { get; set; }

        /// <summary>
        /// Gets or sets the draggable element.
        /// </summary>
        public FrameworkElement Draggable { get; set; }

        /// <summary>
        /// Gets or sets the droppable element.
        /// </summary>
        public FrameworkElement Droppable { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="DropEventArgs"/> class.
        /// </summary>
        /// <param name="routedEvent">The routed event.</param>
        /// <param name="draggable">The draggable.</param>
        /// <param name="droppable">The droppable.</param>
        /// <param name="position">The position.</param>
        public DropEventArgs(RoutedEvent routedEvent, FrameworkElement draggable, FrameworkElement droppable, Point position)
        {
            RoutedEvent = routedEvent;
            Draggable = draggable;
            Droppable = droppable;
            Position = position;
        }
    }
}