Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Input / KeyboardEventArgs.cs / 1305600 / KeyboardEventArgs.cs
using System; namespace System.Windows.Input { ////// The KeyboardEventArgs class provides access to the logical /// pointer device for all derived event args. /// ///public class KeyboardEventArgs : InputEventArgs { /// /// Initializes a new instance of the KeyboardEventArgs class. /// /// /// The logical keyboard device associated with this event. /// /// /// The time when the input occured. /// public KeyboardEventArgs(KeyboardDevice keyboard, int timestamp) : base(keyboard, timestamp) { } ////// Read-only access to the logical keyboard device associated with /// this event. /// public KeyboardDevice KeyboardDevice { get {return (KeyboardDevice) this.Device;} } ////// 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) { KeyboardEventHandler handler = (KeyboardEventHandler) 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
- UTF32Encoding.cs
- Selection.cs
- dbenumerator.cs
- HasRunnableWorkflowEvent.cs
- DictionaryManager.cs
- StrokeNodeOperations.cs
- SelectionPattern.cs
- EnterpriseServicesHelper.cs
- XmlSchemaAll.cs
- Enum.cs
- SafePointer.cs
- FacetChecker.cs
- BuildManagerHost.cs
- MexNamedPipeBindingElement.cs
- PageTheme.cs
- LoginCancelEventArgs.cs
- RegistryExceptionHelper.cs
- JsonWriter.cs
- SelectionRangeConverter.cs
- HtmlAnchor.cs
- QualifierSet.cs
- InputScopeAttribute.cs
- _DisconnectOverlappedAsyncResult.cs
- Connector.xaml.cs
- GridItemCollection.cs
- GeneralTransform2DTo3D.cs
- Int32Rect.cs
- WebScriptMetadataMessageEncodingBindingElement.cs
- ListItem.cs
- PersistenceTypeAttribute.cs
- CallbackValidatorAttribute.cs
- ScalarConstant.cs
- Quad.cs
- TypeDelegator.cs
- ProtectedConfigurationSection.cs
- WebSysDescriptionAttribute.cs
- _NestedSingleAsyncResult.cs
- DragStartedEventArgs.cs
- FixedSOMSemanticBox.cs
- IntSecurity.cs
- XmlTextReaderImpl.cs
- SingletonChannelAcceptor.cs
- PropertyGeneratedEventArgs.cs
- StylusPointPropertyId.cs
- SecureStringHasher.cs
- AbstractDataSvcMapFileLoader.cs
- TableCell.cs
- SqlConnectionPoolProviderInfo.cs
- ConfigurationSchemaErrors.cs
- RowTypeElement.cs
- processwaithandle.cs
- AnonymousIdentificationSection.cs
- WebPartCollection.cs
- WebScriptMetadataInstanceContextProvider.cs
- WorkflowElementDialog.cs
- OdbcUtils.cs
- ImageIndexConverter.cs
- TextParaClient.cs
- XPathScanner.cs
- input.cs
- AtlasWeb.Designer.cs
- EventListenerClientSide.cs
- ConcatQueryOperator.cs
- HttpApplication.cs
- GroupItemAutomationPeer.cs
- ReadOnlyCollectionBase.cs
- SafeProcessHandle.cs
- ClientSideProviderDescription.cs
- DomNameTable.cs
- PassportAuthenticationEventArgs.cs
- TransactionCache.cs
- SmtpTransport.cs
- QueryNode.cs
- RestClientProxyHandler.cs
- XmlCollation.cs
- storepermissionattribute.cs
- BinaryUtilClasses.cs
- SettingsSavedEventArgs.cs
- RootBrowserWindowAutomationPeer.cs
- DoubleLink.cs
- CancelRequestedQuery.cs
- ResourceManager.cs
- LogicalTreeHelper.cs
- OLEDB_Util.cs
- xmlglyphRunInfo.cs
- GridItemPattern.cs
- SerializationStore.cs
- ExpandCollapseProviderWrapper.cs
- DataGridViewCellValidatingEventArgs.cs
- XmlSchemaAnyAttribute.cs
- UnmanagedMemoryStreamWrapper.cs
- SpecialTypeDataContract.cs
- ManagementInstaller.cs
- ContextMarshalException.cs
- HttpCapabilitiesBase.cs
- CodeFieldReferenceExpression.cs
- OneOfElement.cs
- ServicePointManager.cs
- SqlCacheDependency.cs
- SmuggledIUnknown.cs