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
- BlockingCollection.cs
- Panel.cs
- DynamicMethod.cs
- ProxyElement.cs
- XmlSchemaType.cs
- FlagsAttribute.cs
- SqlDependency.cs
- RtfControls.cs
- KeyedCollection.cs
- ConditionalBranch.cs
- ConstraintCollection.cs
- ToolStripTextBox.cs
- ClientScriptManager.cs
- FontStyles.cs
- AttributeEmitter.cs
- BehaviorEditorPart.cs
- SystemFonts.cs
- ImageAttributes.cs
- ListContractAdapter.cs
- UnmanagedMemoryStream.cs
- MessageQueueTransaction.cs
- CompilerLocalReference.cs
- PrivilegedConfigurationManager.cs
- SystemIPGlobalStatistics.cs
- PropertyGroupDescription.cs
- ObjectRef.cs
- AnnotationStore.cs
- GridViewDeletedEventArgs.cs
- ImpersonationContext.cs
- ModifierKeysValueSerializer.cs
- DocumentReference.cs
- InputLanguageProfileNotifySink.cs
- WebPartConnectionsDisconnectVerb.cs
- SecurityDescriptor.cs
- XPathMultyIterator.cs
- RowsCopiedEventArgs.cs
- ThreadSafeList.cs
- AnimationStorage.cs
- CalendarBlackoutDatesCollection.cs
- BaseUriHelper.cs
- CodeTypeReference.cs
- Validator.cs
- SmtpFailedRecipientException.cs
- PersonalizationState.cs
- UnicodeEncoding.cs
- PointLightBase.cs
- InputChannelBinder.cs
- XsltException.cs
- RawStylusSystemGestureInputReport.cs
- SizeConverter.cs
- InheritanceRules.cs
- SmiEventSink.cs
- SectionXmlInfo.cs
- XmlReader.cs
- SimpleExpression.cs
- InfoCardSymmetricCrypto.cs
- DataControlFieldHeaderCell.cs
- AssemblyNameUtility.cs
- CompressedStack.cs
- ConfigurationFileMap.cs
- ConnectionConsumerAttribute.cs
- PolyLineSegment.cs
- ResourceDisplayNameAttribute.cs
- TextRangeBase.cs
- ModelPropertyCollectionImpl.cs
- CurrentTimeZone.cs
- XmlReflectionMember.cs
- WorkflowOperationBehavior.cs
- TextBox.cs
- ProjectionNode.cs
- BooleanFunctions.cs
- coordinatorscratchpad.cs
- Perspective.cs
- DataBindingList.cs
- FontResourceCache.cs
- MessageDroppedTraceRecord.cs
- IndependentAnimationStorage.cs
- BitmapEffectInputData.cs
- AttributeAction.cs
- UnsafeNativeMethodsTablet.cs
- CodePageUtils.cs
- ObjectDisposedException.cs
- StoreItemCollection.cs
- XamlPoint3DCollectionSerializer.cs
- CharacterBufferReference.cs
- SnapLine.cs
- AsmxEndpointPickerExtension.cs
- PeerTransportListenAddressValidator.cs
- NavigationCommands.cs
- ScriptIgnoreAttribute.cs
- ToolStripKeyboardHandlingService.cs
- RequestCacheManager.cs
- DynamicObject.cs
- NetworkInformationException.cs
- TraversalRequest.cs
- InheritanceRules.cs
- DoubleAnimationBase.cs
- VoiceObjectToken.cs
- TimeoutValidationAttribute.cs
- CompressStream.cs