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
- XDeferredAxisSource.cs
- MessageQueueAccessControlEntry.cs
- DeflateEmulationStream.cs
- CompositeControl.cs
- XmlDocument.cs
- StreamInfo.cs
- WebPermission.cs
- SqlDataRecord.cs
- ToolStripScrollButton.cs
- LocalizationParserHooks.cs
- xmlglyphRunInfo.cs
- CustomPopupPlacement.cs
- BooleanExpr.cs
- InputProcessorProfiles.cs
- SmiSettersStream.cs
- RangeValueProviderWrapper.cs
- PersonalizationProvider.cs
- ChannelSinkStacks.cs
- RecognizedWordUnit.cs
- TrackingDataItem.cs
- BrowserPolicyValidator.cs
- ListViewCancelEventArgs.cs
- TextRenderingModeValidation.cs
- DataGridViewButtonCell.cs
- NameService.cs
- ConstraintManager.cs
- ToolStripComboBox.cs
- ControlCollection.cs
- FrameworkContentElementAutomationPeer.cs
- TableFieldsEditor.cs
- WebPartVerb.cs
- SvcFileManager.cs
- PartBasedPackageProperties.cs
- MdImport.cs
- ReadOnlyTernaryTree.cs
- EntityCommandCompilationException.cs
- _SpnDictionary.cs
- DBBindings.cs
- dbdatarecord.cs
- Hex.cs
- CannotUnloadAppDomainException.cs
- AsyncCallback.cs
- SectionInput.cs
- EmptyEnumerator.cs
- WhitespaceRuleReader.cs
- BamlBinaryWriter.cs
- HiddenField.cs
- PathSegmentCollection.cs
- NetworkAddressChange.cs
- Int32Rect.cs
- TracingConnectionInitiator.cs
- AdapterSwitches.cs
- RegexCompiler.cs
- BinaryConverter.cs
- UnknownWrapper.cs
- ToolboxComponentsCreatingEventArgs.cs
- TypeUtils.cs
- documentsequencetextview.cs
- MapPathBasedVirtualPathProvider.cs
- WebPartCollection.cs
- DataRecordInfo.cs
- ExtentCqlBlock.cs
- RIPEMD160.cs
- XmlEntity.cs
- ListItemCollection.cs
- EntityStoreSchemaFilterEntry.cs
- WebBrowserSiteBase.cs
- SettingsPropertyValueCollection.cs
- NativeObjectSecurity.cs
- FormViewUpdateEventArgs.cs
- RegistryKey.cs
- CompoundFileDeflateTransform.cs
- WinEventTracker.cs
- EntityReference.cs
- Typography.cs
- KeysConverter.cs
- CustomPopupPlacement.cs
- TimelineClockCollection.cs
- ProcessModelSection.cs
- AssemblyContextControlItem.cs
- FollowerQueueCreator.cs
- CodeExpressionStatement.cs
- BuilderPropertyEntry.cs
- SecUtil.cs
- CaseCqlBlock.cs
- TypeSystemHelpers.cs
- MonitorWrapper.cs
- User.cs
- ArgIterator.cs
- UInt32Storage.cs
- brushes.cs
- VectorValueSerializer.cs
- DataBindEngine.cs
- DataGridRowHeaderAutomationPeer.cs
- ToolStrip.cs
- GenericEnumerator.cs
- ComplexTypeEmitter.cs
- SqlBooleanizer.cs
- GenericTextProperties.cs
- Animatable.cs