PointHitTestParameters.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / PointHitTestParameters.cs / 1305600 / PointHitTestParameters.cs

                            //------------------------------------------------------------------------------
//  Microsoft Avalon
//  Copyright (c) Microsoft Corporation, 2003
// 
//  File:       PointHitTestParameters
//----------------------------------------------------------------------------- 
 
using System;
using System.Windows.Media; 
using System.Windows.Media.Animation;
using System.Windows.Threading;

using System.Collections; 
using System.Diagnostics;
using MS.Internal; 
 
namespace System.Windows.Media
{ 
    /// 
    /// This is the class for specifying parameters hit testing with a point.
    /// 
    public class PointHitTestParameters : HitTestParameters 
    {
        ///  
        /// The constructor takes the point to hit test with. 
        /// 
        public PointHitTestParameters(Point point) : base() 
        {
            _hitPoint = point;
        }
 
        /// 
        /// The point to hit test against. 
        ///  
        public Point HitPoint
        { 
            get
            {
                return _hitPoint;
            } 
        }
 
        internal void SetHitPoint(Point hitPoint) 
        {
            _hitPoint = hitPoint; 
        }

        private Point _hitPoint;
    } 
}
 

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