BehaviorDragDropEventArgs.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WinForms / System / WinForms / Design / Behavior / BehaviorDragDropEventArgs.cs / 1 / BehaviorDragDropEventArgs.cs

                             
namespace System.Windows.Forms.Design.Behavior {
    using System;
    using System.Collections;
    using System.ComponentModel; 
    using System.ComponentModel.Design;
    using System.Design; 
    using System.Diagnostics; 
    using System.Drawing;
    using System.Windows.Forms.Design; 

    /// 
    /// 
    ///     This class represents the arguments describing a BehaviorDragDrop event 
    ///     fired by the BehaviorService.
    ///  
    public class BehaviorDragDropEventArgs : EventArgs { 

        private ICollection dragComponents;//the list of components being dragged 

        /// 
        /// 
        ///     Constructor.  This class is created by the BehaviorService directly 
        ///     before a drag operation begins.
        ///  
        public BehaviorDragDropEventArgs(ICollection dragComponents) { 
            this.dragComponents = dragComponents;
        } 

        /// 
        /// 
        ///     Returns the list of IComponents currently being dragged. 
        /// 
        public ICollection DragComponents { 
            get { 
                return dragComponents;
            } 
        }
    }
}
 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.


                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK