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
- HitTestDrawingContextWalker.cs
- Comparer.cs
- CannotUnloadAppDomainException.cs
- OdbcConnection.cs
- Activity.cs
- wgx_commands.cs
- DirectionalLight.cs
- NullableConverter.cs
- NullableDecimalAverageAggregationOperator.cs
- FileSystemInfo.cs
- OrderedEnumerableRowCollection.cs
- DescendantQuery.cs
- Delay.cs
- ExceptionRoutedEventArgs.cs
- GridView.cs
- UnrecognizedPolicyAssertionElement.cs
- WebPartEditorCancelVerb.cs
- FlowLayoutSettings.cs
- SrgsToken.cs
- CodeMemberEvent.cs
- HttpDebugHandler.cs
- CodeDomConfigurationHandler.cs
- ControllableStoryboardAction.cs
- DataGridViewCellFormattingEventArgs.cs
- StrongNameSignatureInformation.cs
- LineSegment.cs
- UserNameSecurityTokenAuthenticator.cs
- TypeSystemProvider.cs
- ValidationErrorEventArgs.cs
- AttributeCollection.cs
- MetadataResolver.cs
- MemberAssignmentAnalysis.cs
- SqlFacetAttribute.cs
- SoapFormatter.cs
- EditingContext.cs
- WebPartCollection.cs
- ScrollBar.cs
- DecimalKeyFrameCollection.cs
- TypeUtils.cs
- DataGridViewUtilities.cs
- SignatureDescription.cs
- DataControlFieldCell.cs
- SiteMapNode.cs
- StylusButton.cs
- FullTextState.cs
- DataGridViewCheckBoxCell.cs
- SiteMapPath.cs
- KeyValueSerializer.cs
- HtmlInputPassword.cs
- X509SecurityTokenParameters.cs
- FaultBookmark.cs
- CommonObjectSecurity.cs
- RuleInfoComparer.cs
- ListItemParagraph.cs
- ThicknessKeyFrameCollection.cs
- MessageAction.cs
- RemoteTokenFactory.cs
- SmtpSection.cs
- RijndaelCryptoServiceProvider.cs
- QueryableFilterUserControl.cs
- TypeConverterMarkupExtension.cs
- ClientSettingsStore.cs
- ServerTooBusyException.cs
- StructuredType.cs
- InnerItemCollectionView.cs
- HtmlControl.cs
- Hash.cs
- ReaderWriterLockSlim.cs
- NodeLabelEditEvent.cs
- TextChangedEventArgs.cs
- ModelServiceImpl.cs
- XamlTemplateSerializer.cs
- SQLMoney.cs
- HandlerBase.cs
- InputLangChangeRequestEvent.cs
- GridViewRow.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- ELinqQueryState.cs
- DiscriminatorMap.cs
- SqlFileStream.cs
- RequestValidator.cs
- Rect3D.cs
- DataRelationPropertyDescriptor.cs
- HeaderUtility.cs
- DateTimeAutomationPeer.cs
- OracleLob.cs
- MaskDescriptors.cs
- InternalUserCancelledException.cs
- DataContractSerializerElement.cs
- UnaryOperationBinder.cs
- HtmlInputImage.cs
- ResolveMatchesMessageCD1.cs
- StrokeCollection2.cs
- TextElementEnumerator.cs
- XmlSchemaNotation.cs
- ValidatingReaderNodeData.cs
- AuthenticationModuleElementCollection.cs
- EncoderExceptionFallback.cs
- CommandExpr.cs
- UIElement.cs