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
- OLEDB_Util.cs
- HwndAppCommandInputProvider.cs
- DataObjectCopyingEventArgs.cs
- SendKeys.cs
- ConfigurationPropertyCollection.cs
- PermissionRequestEvidence.cs
- OdbcReferenceCollection.cs
- CodeCompiler.cs
- VisualBrush.cs
- ReadOnlyNameValueCollection.cs
- System.Data.OracleClient_BID.cs
- IItemProperties.cs
- RtfToken.cs
- EtwTrace.cs
- Adorner.cs
- PeerPresenceInfo.cs
- Row.cs
- XmlElementList.cs
- RewritingValidator.cs
- HttpFileCollection.cs
- XomlCompilerResults.cs
- DbParameterHelper.cs
- ContainsRowNumberChecker.cs
- SimpleApplicationHost.cs
- WebPartMinimizeVerb.cs
- SafeRegistryKey.cs
- UnauthorizedAccessException.cs
- SqlDependencyListener.cs
- InkCanvas.cs
- Registry.cs
- ElementHostAutomationPeer.cs
- ImageField.cs
- ProfileParameter.cs
- StartUpEventArgs.cs
- MouseCaptureWithinProperty.cs
- SymLanguageVendor.cs
- TextTreeRootNode.cs
- RenderContext.cs
- EditingCoordinator.cs
- ProcessHostFactoryHelper.cs
- BufferedReceiveElement.cs
- QuaternionAnimationBase.cs
- DefaultAsyncDataDispatcher.cs
- PrePrepareMethodAttribute.cs
- HttpHeaderCollection.cs
- PageBreakRecord.cs
- FlowDocumentView.cs
- ServiceModelDictionary.cs
- HttpTransportElement.cs
- serverconfig.cs
- BoolExpression.cs
- ColumnResizeAdorner.cs
- ButtonFlatAdapter.cs
- TransformerConfigurationWizardBase.cs
- SafeCoTaskMem.cs
- ApplicationFileCodeDomTreeGenerator.cs
- SQLInt32Storage.cs
- DataServices.cs
- StringBuilder.cs
- XmlObjectSerializerReadContextComplex.cs
- AddInProcess.cs
- RtfFormatStack.cs
- PaperSource.cs
- QilFactory.cs
- DataListCommandEventArgs.cs
- translator.cs
- ResourceManagerWrapper.cs
- PagedDataSource.cs
- GacUtil.cs
- AmbientValueAttribute.cs
- MonthChangedEventArgs.cs
- ProjectionCamera.cs
- TrackBarRenderer.cs
- ProxyGenerator.cs
- TextFormatterImp.cs
- WebServiceParameterData.cs
- RemoveStoryboard.cs
- FixedDocumentPaginator.cs
- DataGridViewRowsRemovedEventArgs.cs
- Clause.cs
- SerializationException.cs
- StickyNoteContentControl.cs
- DiscardableAttribute.cs
- BrowserInteropHelper.cs
- ToolStripContainerDesigner.cs
- TypeGeneratedEventArgs.cs
- Stylus.cs
- CharKeyFrameCollection.cs
- Missing.cs
- ArithmeticException.cs
- ProjectionRewriter.cs
- DataTableReaderListener.cs
- ObsoleteAttribute.cs
- ClientRolePrincipal.cs
- BindingExpressionBase.cs
- SkewTransform.cs
- FacetChecker.cs
- CommandTreeTypeHelper.cs
- SoapEnumAttribute.cs
- ListViewInsertionMark.cs