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
- Directory.cs
- CngProperty.cs
- ReferenceService.cs
- CompensatableTransactionScopeActivityDesigner.cs
- CodeAssignStatement.cs
- WindowsStatic.cs
- ViewGenerator.cs
- ConvertersCollection.cs
- PixelShader.cs
- OleDbPropertySetGuid.cs
- AppLevelCompilationSectionCache.cs
- SplayTreeNode.cs
- SystemIPv6InterfaceProperties.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- DataGridViewCellMouseEventArgs.cs
- GatewayIPAddressInformationCollection.cs
- ScriptDescriptor.cs
- OracleInfoMessageEventArgs.cs
- UserControlParser.cs
- GridItem.cs
- WsatTransactionHeader.cs
- securitymgrsite.cs
- ImportContext.cs
- ComponentEditorForm.cs
- GenericEnumConverter.cs
- ThreadStaticAttribute.cs
- remotingproxy.cs
- graph.cs
- StringResourceManager.cs
- SamlSubject.cs
- SqlGenerator.cs
- ValidatingReaderNodeData.cs
- AncillaryOps.cs
- SafeUserTokenHandle.cs
- Camera.cs
- ColumnHeaderConverter.cs
- AlternateViewCollection.cs
- UpdateExpressionVisitor.cs
- SerializationSectionGroup.cs
- DataGridViewIntLinkedList.cs
- Storyboard.cs
- MenuItem.cs
- ClipboardProcessor.cs
- PersonalizationStateInfoCollection.cs
- TypeBuilderInstantiation.cs
- CodeGenerator.cs
- ToolStripGrip.cs
- AutomationPropertyInfo.cs
- _CookieModule.cs
- MessagePropertyFilter.cs
- ClientSponsor.cs
- DataServiceKeyAttribute.cs
- GridItemCollection.cs
- handlecollector.cs
- XmlMemberMapping.cs
- DesignObjectWrapper.cs
- ProxyHelper.cs
- HealthMonitoringSectionHelper.cs
- CompiledQuery.cs
- RsaSecurityToken.cs
- Rotation3DKeyFrameCollection.cs
- CodePrimitiveExpression.cs
- TextTreeText.cs
- HwndSourceKeyboardInputSite.cs
- EditorBrowsableAttribute.cs
- ResXResourceReader.cs
- Visitor.cs
- SourceFileInfo.cs
- TimeEnumHelper.cs
- MultiSelectRootGridEntry.cs
- RouteParser.cs
- MemberExpression.cs
- AttachInfo.cs
- KoreanLunisolarCalendar.cs
- FormViewCommandEventArgs.cs
- PropertyTab.cs
- WebPartCancelEventArgs.cs
- StringOutput.cs
- KeyedCollection.cs
- TextTreeExtractElementUndoUnit.cs
- XPathSelectionIterator.cs
- WindowsToolbarAsMenu.cs
- HtmlEmptyTagControlBuilder.cs
- XmlTextReaderImplHelpers.cs
- MenuItemBinding.cs
- DataGridViewRowPrePaintEventArgs.cs
- Padding.cs
- DesignerActionUIStateChangeEventArgs.cs
- CompilationUtil.cs
- OutputCache.cs
- PointLight.cs
- MouseActionConverter.cs
- ParallelTimeline.cs
- ManagementOperationWatcher.cs
- TraceUtils.cs
- LayoutSettings.cs
- MultiPartWriter.cs
- TypeLoadException.cs
- ValuePattern.cs
- UpdatePanelTriggerCollection.cs