Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / Stylus / StylusButtonEventArgs.cs / 1 / StylusButtonEventArgs.cs
using System; using System.Collections; using System.ComponentModel; using System.Windows.Media; namespace System.Windows.Input { ///////////////////////////////////////////////////////////////////////// //////Event argument used to subscribe to StylusButtonDown/Up events. ///The only information required to be passed by this argument is which button had the state change. /// public class StylusButtonEventArgs : StylusEventArgs { ///////////////////////////////////////////////////////////////////// ////// Initializes a new instance of the StylusButtonEventArgs class. /// /// /// The logical Stylus device associated with this event. /// /// /// The time when the input occured. /// /// /// The button. /// public StylusButtonEventArgs( StylusDevice stylusDevice, int timestamp, StylusButton button) : base(stylusDevice, timestamp) { // _button = button; } ////// Get the StylusButton /// public StylusButton StylusButton { get { return _button; } } ///////////////////////////////////////////////////////////////////// ////// 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) { StylusButtonEventHandler handler = (StylusButtonEventHandler)genericHandler; handler(genericTarget, this); } ///////////////////////////////////////////////////////////////////// /// StylusButton _button; } } // 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
- MenuItemBinding.cs
- DragDrop.cs
- OrderByBuilder.cs
- MetaForeignKeyColumn.cs
- SqlBinder.cs
- DiscoveryOperationContextExtension.cs
- GetReadStreamResult.cs
- Decorator.cs
- AssemblyBuilderData.cs
- PerformanceCounterManager.cs
- TimerEventSubscriptionCollection.cs
- TrustLevelCollection.cs
- ConfigurationConverterBase.cs
- AnnotationResourceChangedEventArgs.cs
- GlobalizationAssembly.cs
- LayoutTable.cs
- TraceSource.cs
- ScriptRegistrationManager.cs
- OverlappedAsyncResult.cs
- KeyToListMap.cs
- ReadOnlyHierarchicalDataSource.cs
- DbConnectionPoolCounters.cs
- DodSequenceMerge.cs
- Documentation.cs
- CodeMemberMethod.cs
- AsyncContentLoadedEventArgs.cs
- System.Data_BID.cs
- SafeHandle.cs
- MailAddressCollection.cs
- ping.cs
- SrgsDocument.cs
- IInstanceTable.cs
- RsaKeyIdentifierClause.cs
- HWStack.cs
- MarshalByValueComponent.cs
- EventEntry.cs
- PageHandlerFactory.cs
- SimpleWebHandlerParser.cs
- FontFamily.cs
- ConfigXmlDocument.cs
- WebPartAuthorizationEventArgs.cs
- connectionpool.cs
- ProviderConnectionPointCollection.cs
- Int16AnimationBase.cs
- LookupNode.cs
- DataServices.cs
- BamlLocalizabilityResolver.cs
- PersonalizableAttribute.cs
- ParenthesizePropertyNameAttribute.cs
- ObjectAssociationEndMapping.cs
- BitmapEffectInput.cs
- MenuItem.cs
- SapiGrammar.cs
- CommonRemoteMemoryBlock.cs
- WindowsToolbarItemAsMenuItem.cs
- PerspectiveCamera.cs
- TextSpanModifier.cs
- WindowShowOrOpenTracker.cs
- IItemContainerGenerator.cs
- MasterPageCodeDomTreeGenerator.cs
- SchemaLookupTable.cs
- DependencyPropertyDescriptor.cs
- RowType.cs
- ProcessThread.cs
- OnOperation.cs
- WebContentFormatHelper.cs
- CacheDependency.cs
- QuaternionAnimation.cs
- Permission.cs
- GroupLabel.cs
- SignedXml.cs
- InitializingNewItemEventArgs.cs
- BoundField.cs
- AccessDataSourceWizardForm.cs
- _SecureChannel.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- IApplicationTrustManager.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- ColumnResizeUndoUnit.cs
- Columns.cs
- X500Name.cs
- SessionStateModule.cs
- ControlAdapter.cs
- EntityDataSourceChangedEventArgs.cs
- PathGradientBrush.cs
- MobileUserControl.cs
- ReversePositionQuery.cs
- SubpageParagraph.cs
- ListViewItemEventArgs.cs
- LogAppendAsyncResult.cs
- EntryWrittenEventArgs.cs
- TextParagraph.cs
- DesignerAutoFormatCollection.cs
- SerializationInfo.cs
- HeaderCollection.cs
- HttpDebugHandler.cs
- AttributeInfo.cs
- EmbossBitmapEffect.cs
- GCHandleCookieTable.cs
- DataException.cs