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
- ComponentCache.cs
- MimeBasePart.cs
- AlphabeticalEnumConverter.cs
- SessionParameter.cs
- BamlLocalizer.cs
- OleDbErrorCollection.cs
- PrefixHandle.cs
- BaseDataList.cs
- XPathEmptyIterator.cs
- LambdaCompiler.Lambda.cs
- BeginStoryboard.cs
- ToolStripTemplateNode.cs
- QilVisitor.cs
- WithStatement.cs
- ManagementBaseObject.cs
- AnonymousIdentificationSection.cs
- SoapSchemaExporter.cs
- PointConverter.cs
- TypeGeneratedEventArgs.cs
- cookieexception.cs
- ReaderWriterLock.cs
- FileRecordSequence.cs
- Timer.cs
- Vector3DCollection.cs
- TimeSpanOrInfiniteConverter.cs
- SignatureDescription.cs
- DateTimeConverter.cs
- ToolbarAUtomationPeer.cs
- SamlEvidence.cs
- Pick.cs
- Queue.cs
- CounterCreationData.cs
- StopStoryboard.cs
- SemanticTag.cs
- ModifierKeysConverter.cs
- IIS7UserPrincipal.cs
- ObjectDataProvider.cs
- CqlIdentifiers.cs
- Ipv6Element.cs
- XmlNodeList.cs
- SystemIPInterfaceProperties.cs
- ExpressionConverter.cs
- MatrixAnimationUsingKeyFrames.cs
- CounterSetInstance.cs
- Serializer.cs
- WinOEToolBoxItem.cs
- BaseUriWithWildcard.cs
- COM2PropertyPageUITypeConverter.cs
- XmlSecureResolver.cs
- SiteMapNodeItem.cs
- AutomationPeer.cs
- TransactionInterop.cs
- RelationshipConverter.cs
- RNGCryptoServiceProvider.cs
- Msec.cs
- DataGridTextColumn.cs
- DataGridCommandEventArgs.cs
- IPPacketInformation.cs
- OdbcRowUpdatingEvent.cs
- EventsTab.cs
- HttpHeaderCollection.cs
- PauseStoryboard.cs
- SqlProfileProvider.cs
- RunInstallerAttribute.cs
- TreeNodeBindingDepthConverter.cs
- SecurityUtils.cs
- SkipStoryboardToFill.cs
- ITreeGenerator.cs
- ClientSession.cs
- BoundPropertyEntry.cs
- MarkerProperties.cs
- LogSwitch.cs
- ExpressionParser.cs
- TimeZoneInfo.cs
- BitmapMetadataBlob.cs
- BitmapEffectInputConnector.cs
- UnicodeEncoding.cs
- DrawingVisualDrawingContext.cs
- BamlRecordHelper.cs
- PenThreadWorker.cs
- unsafenativemethodsother.cs
- InvalidAsynchronousStateException.cs
- __TransparentProxy.cs
- FixedFlowMap.cs
- Timer.cs
- DataGridParentRows.cs
- LicFileLicenseProvider.cs
- SiteMapNodeCollection.cs
- WebPartMovingEventArgs.cs
- ToolStripStatusLabel.cs
- DataRelationCollection.cs
- DaylightTime.cs
- DatatypeImplementation.cs
- TextEditorParagraphs.cs
- SelectionProviderWrapper.cs
- WindowsListViewItem.cs
- DbConnectionStringBuilder.cs
- SystemEvents.cs
- EastAsianLunisolarCalendar.cs
- MappedMetaModel.cs