Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Input / InputReportEventArgs.cs / 1305600 / InputReportEventArgs.cs
using System; using MS.Internal.PresentationCore; namespace System.Windows.Input { ////// The InputReportEventArgs class contains information about an input /// report that is being processed. /// [FriendAccessAllowed] internal class InputReportEventArgs : InputEventArgs { ////// Initializes a new instance of the InputReportEventArgs class. /// /// /// The input device to associate this input with. /// /// /// The input report being processed. /// public InputReportEventArgs(InputDevice inputDevice, InputReport report) : base(inputDevice, ((report != null) ? report.Timestamp : -1)) { if (report == null) throw new ArgumentNullException("report"); _report = report; } ////// Read-only access to the input report being processed. /// public InputReport Report { get {return _report;} } ////// 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) { InputReportEventHandler handler = (InputReportEventHandler) genericHandler; handler(genericTarget, this); } private InputReport _report; } } // 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
- MetadataCacheItem.cs
- TextCharacters.cs
- WpfGeneratedKnownTypes.cs
- RightsManagementProvider.cs
- ErrorStyle.cs
- XmlQuerySequence.cs
- WindowsScroll.cs
- XNodeSchemaApplier.cs
- HelpKeywordAttribute.cs
- WindowsTokenRoleProvider.cs
- XhtmlBasicPanelAdapter.cs
- BrowserTree.cs
- EntryWrittenEventArgs.cs
- EntitySqlQueryCacheEntry.cs
- MoveSizeWinEventHandler.cs
- ProfileSettingsCollection.cs
- ThreadStartException.cs
- GridViewCommandEventArgs.cs
- MetadataExchangeBindings.cs
- ObservableCollection.cs
- SchemaDeclBase.cs
- LogStore.cs
- GridSplitter.cs
- OpCopier.cs
- AccessControlList.cs
- SystemFonts.cs
- DirectionalLight.cs
- EncryptedPackage.cs
- HttpStaticObjectsCollectionBase.cs
- TextEditorLists.cs
- ManageRequest.cs
- EntityConnection.cs
- TagMapInfo.cs
- FontStretches.cs
- ErrorStyle.cs
- EmptyCollection.cs
- ToolStripDropDown.cs
- BinaryQueryOperator.cs
- NamedPipeAppDomainProtocolHandler.cs
- NetworkInformationException.cs
- PropertyKey.cs
- AutoSizeToolBoxItem.cs
- PropertyKey.cs
- HtmlInputRadioButton.cs
- DictionaryBase.cs
- X509CertificateClaimSet.cs
- OracleNumber.cs
- Normalization.cs
- TextDecoration.cs
- SchemaImporter.cs
- FileUpload.cs
- ExpressionCopier.cs
- IdentifierCreationService.cs
- Timer.cs
- Viewport3DAutomationPeer.cs
- ColorAnimationBase.cs
- TextShapeableCharacters.cs
- ConstraintManager.cs
- EmptyReadOnlyDictionaryInternal.cs
- PersonalizablePropertyEntry.cs
- WindowsFormsSectionHandler.cs
- CodeSnippetExpression.cs
- DbConnectionPoolGroup.cs
- SecurityContext.cs
- ApplicationFileCodeDomTreeGenerator.cs
- TemplateInstanceAttribute.cs
- wgx_render.cs
- AssemblyResourceLoader.cs
- TypeInfo.cs
- AttributeParameterInfo.cs
- JsonServiceDocumentSerializer.cs
- WebRequest.cs
- PrintPageEvent.cs
- TreeViewImageIndexConverter.cs
- PingReply.cs
- KoreanLunisolarCalendar.cs
- mediapermission.cs
- RuleRefElement.cs
- XmlCompatibilityReader.cs
- EmptyImpersonationContext.cs
- IPGlobalProperties.cs
- WindowsPen.cs
- entityreference_tresulttype.cs
- ProcessModelSection.cs
- MruCache.cs
- LocatorBase.cs
- CryptoHandle.cs
- DataGridViewColumnConverter.cs
- NamedObject.cs
- ViewValidator.cs
- FontInfo.cs
- QueryExpr.cs
- CommandTreeTypeHelper.cs
- Int32Converter.cs
- ComponentDispatcherThread.cs
- ObjRef.cs
- NativeMethods.cs
- DataGridViewLayoutData.cs
- SplitContainer.cs
- VirtualizingPanel.cs