Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Input / Stylus / StylusDownEventArgs.cs / 1305600 / 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
- DesignerView.xaml.cs
- RequestQueryProcessor.cs
- PageCodeDomTreeGenerator.cs
- SecurityUtils.cs
- PropertyEmitter.cs
- Property.cs
- ControlCollection.cs
- Script.cs
- VirtualizingPanel.cs
- _LocalDataStoreMgr.cs
- TextEditorCharacters.cs
- processwaithandle.cs
- HttpValueCollection.cs
- OleDbRowUpdatedEvent.cs
- StrokeCollection.cs
- ListSortDescriptionCollection.cs
- EmptyEnumerator.cs
- DynamicPropertyHolder.cs
- InstalledFontCollection.cs
- DataGridTable.cs
- XamlSerializerUtil.cs
- AssemblyBuilderData.cs
- SymbolType.cs
- BindingValueChangedEventArgs.cs
- TrustManager.cs
- SharedStatics.cs
- AuthenticationSection.cs
- RootAction.cs
- FSWPathEditor.cs
- KeyedByTypeCollection.cs
- DragStartedEventArgs.cs
- PeerNameRecordCollection.cs
- ByteStreamGeometryContext.cs
- ImmutableObjectAttribute.cs
- EmptyImpersonationContext.cs
- DebugHandleTracker.cs
- _Win32.cs
- StringPropertyBuilder.cs
- XmlMembersMapping.cs
- DefaultWorkflowSchedulerService.cs
- Stylesheet.cs
- ButtonChrome.cs
- FontSource.cs
- WindowsGraphics.cs
- SiteMapDataSourceView.cs
- StringArrayConverter.cs
- Msec.cs
- CheckBoxStandardAdapter.cs
- SchemaNotation.cs
- CodeAccessSecurityEngine.cs
- __ConsoleStream.cs
- WindowsStartMenu.cs
- TextServicesProperty.cs
- IsolatedStorageSecurityState.cs
- ServiceThrottlingBehavior.cs
- DeflateEmulationStream.cs
- HostedElements.cs
- RectConverter.cs
- Item.cs
- Expander.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- SafeSystemMetrics.cs
- ContextMarshalException.cs
- StrokeSerializer.cs
- FullTrustAssemblyCollection.cs
- UnionExpr.cs
- ScriptComponentDescriptor.cs
- InsufficientMemoryException.cs
- Adorner.cs
- CodeGroup.cs
- AssemblyInfo.cs
- IntegerValidatorAttribute.cs
- EntityCollection.cs
- TdsEnums.cs
- DefaultHttpHandler.cs
- TemplateField.cs
- BamlBinaryReader.cs
- DelegateBodyWriter.cs
- BuildManagerHost.cs
- TextControl.cs
- ExecutionEngineException.cs
- Context.cs
- RenderDataDrawingContext.cs
- SqlNotificationEventArgs.cs
- Rect3D.cs
- XhtmlConformanceSection.cs
- EditorZone.cs
- SoapInteropTypes.cs
- WorkflowDebuggerSteppingAttribute.cs
- DataGridRow.cs
- Util.cs
- BlockUIContainer.cs
- ToolStripItemImageRenderEventArgs.cs
- URLMembershipCondition.cs
- LinkButton.cs
- XmlNotation.cs
- ParameterCollection.cs
- CodeExporter.cs
- ComplexType.cs
- Vector3DCollectionConverter.cs