Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / KeyboardEventArgs.cs / 1 / 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
- TabItemWrapperAutomationPeer.cs
- MetadataArtifactLoaderComposite.cs
- ControlBuilder.cs
- SqlCommandBuilder.cs
- wgx_exports.cs
- PackageController.cs
- StoryFragments.cs
- MenuItem.cs
- DomainUpDown.cs
- StrokeNode.cs
- CustomBindingElement.cs
- CompilerGeneratedAttribute.cs
- MobileControlBuilder.cs
- UInt32Converter.cs
- XmlWriterTraceListener.cs
- DataServiceException.cs
- ConfigurationStrings.cs
- ProfessionalColorTable.cs
- PropertyCondition.cs
- ProviderIncompatibleException.cs
- Constraint.cs
- WindowsListViewItem.cs
- InternalException.cs
- FileSecurity.cs
- XPathNodeIterator.cs
- IntSecurity.cs
- MetabaseSettings.cs
- LocationInfo.cs
- ColumnCollection.cs
- SqlParameter.cs
- OleDbRowUpdatingEvent.cs
- DataGridViewControlCollection.cs
- XamlTreeBuilder.cs
- AssociationSetMetadata.cs
- DataServiceRequest.cs
- StringUtil.cs
- SqlDataSourceRefreshSchemaForm.cs
- XmlArrayAttribute.cs
- TextServicesManager.cs
- BufferModeSettings.cs
- FocusWithinProperty.cs
- SmtpDigestAuthenticationModule.cs
- DataBoundControl.cs
- Context.cs
- CodeMethodMap.cs
- NameValueSectionHandler.cs
- UnmanagedMemoryStream.cs
- ValidatedControlConverter.cs
- HtmlFormWrapper.cs
- DebugView.cs
- EllipseGeometry.cs
- newinstructionaction.cs
- ScrollPattern.cs
- ReceiveParametersContent.cs
- UrlMappingsSection.cs
- DbFunctionCommandTree.cs
- ToolStripSeparator.cs
- IntellisenseTextBox.designer.cs
- XmlSchemaObjectTable.cs
- SiteMapSection.cs
- SerializerProvider.cs
- UIElementAutomationPeer.cs
- TypeContext.cs
- RepeatInfo.cs
- AssertFilter.cs
- OracleParameterBinding.cs
- Repeater.cs
- EventProxy.cs
- BigInt.cs
- SqlSupersetValidator.cs
- HtmlAnchor.cs
- ControlPager.cs
- Pens.cs
- DataObjectMethodAttribute.cs
- NativeCompoundFileAPIs.cs
- RadioButtonBaseAdapter.cs
- TraceListeners.cs
- NumberFormatInfo.cs
- Keyboard.cs
- DataGridColumnsPage.cs
- LocalizableAttribute.cs
- Border.cs
- querybuilder.cs
- MailWriter.cs
- DataIdProcessor.cs
- LocalBuilder.cs
- WebPartTransformerAttribute.cs
- DependencyPropertyAttribute.cs
- ProfileService.cs
- FocusWithinProperty.cs
- ValidationSummary.cs
- DataGridComboBoxColumn.cs
- InkCanvasFeedbackAdorner.cs
- InvariantComparer.cs
- PeerCollaboration.cs
- CodeDirectiveCollection.cs
- RootProjectionNode.cs
- CodeConditionStatement.cs
- Predicate.cs
- WebDescriptionAttribute.cs