Code:
                         / DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / Stylus / StylusDownEventArgs.cs / 1 / StylusDownEventArgs.cs
                        
                        
                            using System; 
using System.Collections;
using System.ComponentModel;
using System.Windows.Media;
 
namespace System.Windows.Input
{ 
    ///////////////////////////////////////////////////////////////////////// 
    /// 
    ///Event argument used to subscribe to StylusDown events. 
    ///  
    public class StylusDownEventArgs : StylusEventArgs
    {
        ///////////////////////////////////////////////////////////////////// 
        /// 
        ///     Initializes a new instance of the StylusDownEventArgs class. 
        ///   
        /// 
        ///     The logical Stylus device associated with this event. 
        /// 
        /// 
        ///     The time when the input occured.
        ///  
        public StylusDownEventArgs(
            StylusDevice stylusDevice, int timestamp) 
            : 
            base(stylusDevice, timestamp)
        { 
        }
        /// 
        ///     Read access to the stylus tap count. 
        ///  
        public int TapCount 
        { 
            get {return StylusDevice.TapCount;}
        } 
        /////////////////////////////////////////////////////////////////////
        /// 
        ///     The mechanism used to call the type-specific handler on the 
        ///     target.
        ///   
        ///  
        ///     The generic handler to call in a type-specific way.
        ///  
        /// 
        ///     The target to call the handler on.
        /// 
        protected override void InvokeEventHandler(Delegate genericHandler, object genericTarget) 
        {
            StylusDownEventHandler handler = (StylusDownEventHandler)genericHandler; 
            handler(genericTarget, this); 
        }
 
    }
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
                        
                        
                        
                        
                    Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Vector3DConverter.cs
- WebPartConnectVerb.cs
- AutomationPattern.cs
- TimeoutException.cs
- FrameDimension.cs
- XmlWriterSettings.cs
- CommonProperties.cs
- BoundsDrawingContextWalker.cs
- XsltSettings.cs
- AnnotationResource.cs
- DecodeHelper.cs
- FileChangeNotifier.cs
- DataControlImageButton.cs
- UTF7Encoding.cs
- DescriptionAttribute.cs
- LoginViewDesigner.cs
- MenuScrollingVisibilityConverter.cs
- SignatureHelper.cs
- ReaderOutput.cs
- RepeatInfo.cs
- ValidationSummary.cs
- MemberDomainMap.cs
- HierarchicalDataBoundControl.cs
- BigInt.cs
- StringAnimationUsingKeyFrames.cs
- XmlEncoding.cs
- BaseAutoFormat.cs
- CodeFieldReferenceExpression.cs
- DataSourceCacheDurationConverter.cs
- Buffer.cs
- KerberosTicketHashIdentifierClause.cs
- GeometryHitTestResult.cs
- StrokeNodeOperations.cs
- XPathDescendantIterator.cs
- CellParaClient.cs
- StrongNameIdentityPermission.cs
- AppSettingsReader.cs
- ReflectionServiceProvider.cs
- UrlPropertyAttribute.cs
- LogFlushAsyncResult.cs
- TextWriterTraceListener.cs
- BufferedWebEventProvider.cs
- OwnerDrawPropertyBag.cs
- SID.cs
- SecureEnvironment.cs
- SafeTokenHandle.cs
- SecurityTokenAuthenticator.cs
- WorkflowQueuingService.cs
- TemplatedWizardStep.cs
- GPRECTF.cs
- ForceCopyBuildProvider.cs
- FSWPathEditor.cs
- FlowLayoutPanel.cs
- FlowDocumentPaginator.cs
- NonValidatingSecurityTokenAuthenticator.cs
- TimeoutTimer.cs
- _ServiceNameStore.cs
- XmlByteStreamWriter.cs
- BamlBinaryWriter.cs
- WebPartConnectionsDisconnectVerb.cs
- DateTimeFormat.cs
- ConversionContext.cs
- LassoSelectionBehavior.cs
- HelpOperationInvoker.cs
- SHA256Cng.cs
- XPathSingletonIterator.cs
- FontInfo.cs
- CursorInteropHelper.cs
- Psha1DerivedKeyGeneratorHelper.cs
- ConfigXmlReader.cs
- HtmlTitle.cs
- BitmapEffectrendercontext.cs
- EnvelopedPkcs7.cs
- VisualStyleRenderer.cs
- TextTreeTextElementNode.cs
- InvalidComObjectException.cs
- BypassElement.cs
- StrongNameKeyPair.cs
- PersonalizableAttribute.cs
- WebPartTransformer.cs
- XmlNodeChangedEventArgs.cs
- StylusOverProperty.cs
- SchemaType.cs
- RelativeSource.cs
- MaskedTextBoxTextEditor.cs
- XmlSecureResolver.cs
- ErrorRuntimeConfig.cs
- NativeWindow.cs
- FileUtil.cs
- Grant.cs
- Span.cs
- HandlerFactoryCache.cs
- SQLByte.cs
- ParseChildrenAsPropertiesAttribute.cs
- HttpResponse.cs
- CacheMemory.cs
- LicFileLicenseProvider.cs
- PreviewKeyDownEventArgs.cs
- RuleRef.cs
- MethodRental.cs