RawStylusInputCustomData.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / Stylus / RawStylusInputCustomData.cs / 1 / RawStylusInputCustomData.cs

                            //------------------------------------------------------------------------ 
// 
// Copyright (c) Microsoft Corporation. All rights reserved.
// 
//----------------------------------------------------------------------- 

using System; 
using System.Windows; 

using SR=MS.Internal.PresentationCore.SR; 
using SRID=MS.Internal.PresentationCore.SRID;

namespace System.Windows.Input.StylusPlugIns
{ 
    /// 
    /// RawStylusInputCustomData object 
    ///  
    internal class RawStylusInputCustomData
    { 
        /// 
        /// RawStylusInputCustomData constructor
        /// 
        public RawStylusInputCustomData(StylusPlugIn owner, object data) 
        {
            _data = data; 
            _owner = owner; 
        }
 
        /// 
        /// Returns custom data
        /// 
        public object Data 
        {
            get 
            { 
                return _data;
            } 
        }

        /// 
        /// Returns owner of this object (which is who gets notification) 
        /// 
        public StylusPlugIn Owner 
        { 
            get
            { 
                return _owner;
            }
        }
 
        StylusPlugIn    _owner;
        object          _data; 
    } 

} 


// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
                        

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