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
- IfAction.cs
- UserPreferenceChangingEventArgs.cs
- Membership.cs
- ParameterBinding.cs
- NavigationCommands.cs
- DragDropHelper.cs
- FullTextBreakpoint.cs
- PageRequestManager.cs
- odbcmetadatacolumnnames.cs
- WebConfigurationFileMap.cs
- StreamWriter.cs
- EpmSyndicationContentSerializer.cs
- ToggleProviderWrapper.cs
- AccessDataSourceWizardForm.cs
- HotCommands.cs
- SemanticBasicElement.cs
- SystemIPAddressInformation.cs
- DataBinding.cs
- DataPagerCommandEventArgs.cs
- SqlDataSourceCustomCommandEditor.cs
- RepeatEnumerable.cs
- URLIdentityPermission.cs
- HttpProxyCredentialType.cs
- XmlQueryCardinality.cs
- ZipFileInfoCollection.cs
- BasicKeyConstraint.cs
- DefaultBinder.cs
- AutoFocusStyle.xaml.cs
- Highlights.cs
- RegexTypeEditor.cs
- ScrollBarRenderer.cs
- PolyBezierSegmentFigureLogic.cs
- SecurityAlgorithmSuiteConverter.cs
- ObjectParameterCollection.cs
- CultureData.cs
- mediaclock.cs
- EntityDesignerUtils.cs
- NavigationExpr.cs
- ExtensionFile.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- PowerModeChangedEventArgs.cs
- MappingMetadataHelper.cs
- Assert.cs
- AccessViolationException.cs
- ResXResourceWriter.cs
- DataContractJsonSerializerOperationFormatter.cs
- DataFormats.cs
- CultureTableRecord.cs
- PeerCredentialElement.cs
- MarkupCompiler.cs
- CodeTypeDelegate.cs
- Utility.cs
- VectorKeyFrameCollection.cs
- FileNotFoundException.cs
- IUnknownConstantAttribute.cs
- Journal.cs
- FirewallWrapper.cs
- TableAutomationPeer.cs
- KnownTypesProvider.cs
- CurrentChangingEventManager.cs
- InternalSafeNativeMethods.cs
- VisualStyleTypesAndProperties.cs
- FrameworkRichTextComposition.cs
- TreeNodeBindingCollection.cs
- HelloOperationCD1AsyncResult.cs
- WebUtil.cs
- ECDiffieHellmanPublicKey.cs
- FontCollection.cs
- TextParagraphProperties.cs
- AppSettingsExpressionBuilder.cs
- ValueType.cs
- ServiceDurableInstanceContextProvider.cs
- NativeMethods.cs
- QuarticEase.cs
- _SslSessionsCache.cs
- EventNotify.cs
- ResolveNameEventArgs.cs
- HttpRequestCacheValidator.cs
- StagingAreaInputItem.cs
- DependencyObjectPropertyDescriptor.cs
- RadioButton.cs
- ButtonBaseAutomationPeer.cs
- MexBindingElement.cs
- fixedPageContentExtractor.cs
- ListItemCollection.cs
- InlineUIContainer.cs
- AsyncPostBackTrigger.cs
- ZoneButton.cs
- PrivateFontCollection.cs
- TextTreeFixupNode.cs
- CategoryNameCollection.cs
- X509Extension.cs
- ClientSideProviderDescription.cs
- DocumentReferenceCollection.cs
- XmlSchemaChoice.cs
- GB18030Encoding.cs
- FilterQuery.cs
- String.cs
- WSFederationHttpBindingCollectionElement.cs
- TemplatedWizardStep.cs