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
- AssemblyAttributes.cs
- DataGridViewImageCell.cs
- SpellerHighlightLayer.cs
- Stack.cs
- PatternMatchRules.cs
- DesignerAttribute.cs
- WebResponse.cs
- ItemCheckEvent.cs
- SqlXmlStorage.cs
- SoapTypeAttribute.cs
- ClickablePoint.cs
- AppearanceEditorPart.cs
- MemberCollection.cs
- AsyncCompletedEventArgs.cs
- DesignerContextDescriptor.cs
- XmlSchemaComplexContentRestriction.cs
- ContentPlaceHolderDesigner.cs
- ClassicBorderDecorator.cs
- UInt64Storage.cs
- SafeNativeMethods.cs
- Stroke.cs
- HiddenFieldPageStatePersister.cs
- DrawingState.cs
- QilGenerator.cs
- BooleanConverter.cs
- OleDbException.cs
- SymbolType.cs
- WindowsScrollBarBits.cs
- _NTAuthentication.cs
- IndexOutOfRangeException.cs
- LambdaCompiler.Generated.cs
- SimpleMailWebEventProvider.cs
- RemoteX509Token.cs
- Vector3DCollection.cs
- DependencyPropertyHelper.cs
- ConstNode.cs
- Nullable.cs
- CircleHotSpot.cs
- CancelEventArgs.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- RenderContext.cs
- SafeRightsManagementEnvironmentHandle.cs
- BehaviorEditorPart.cs
- CqlLexer.cs
- CommonRemoteMemoryBlock.cs
- XmlDataLoader.cs
- CompositeCollection.cs
- CryptoConfig.cs
- BackStopAuthenticationModule.cs
- WeakReferenceList.cs
- FontResourceCache.cs
- MenuItemCollection.cs
- NumberSubstitution.cs
- HebrewNumber.cs
- Scheduler.cs
- UrlEncodedParameterWriter.cs
- RangeValidator.cs
- WorkflowView.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- MenuItemStyleCollection.cs
- QilTernary.cs
- HtmlTable.cs
- ValuePattern.cs
- PipelineModuleStepContainer.cs
- SqlDelegatedTransaction.cs
- Parser.cs
- StateRuntime.cs
- SecurityContextSecurityTokenParameters.cs
- FileCodeGroup.cs
- WeakReferenceList.cs
- StrokeCollectionDefaultValueFactory.cs
- RequestCachePolicy.cs
- SplineKeyFrames.cs
- serverconfig.cs
- TableItemStyle.cs
- HtmlElement.cs
- DataGridPageChangedEventArgs.cs
- SectionUpdates.cs
- ContextStaticAttribute.cs
- ModulesEntry.cs
- ElapsedEventArgs.cs
- DataTemplateSelector.cs
- ChtmlTextWriter.cs
- SimpleNameService.cs
- InputMethod.cs
- ConfigurationSectionGroupCollection.cs
- DocumentViewerHelper.cs
- MetafileHeaderWmf.cs
- LazyInitializer.cs
- DocumentViewerBase.cs
- SqlDataSourceQueryEditor.cs
- AspCompat.cs
- SearchForVirtualItemEventArgs.cs
- EdmFunction.cs
- SiteMapNode.cs
- BrowserCapabilitiesCodeGenerator.cs
- WorkflowLayouts.cs
- ViewBox.cs
- BamlRecordHelper.cs
- EventLogPropertySelector.cs