Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Input / KeyboardInputProviderAcquireFocusEventArgs.cs / 1305600 / KeyboardInputProviderAcquireFocusEventArgs.cs
using System; namespace System.Windows.Input { ////// The KeyboardInputProviderAcquireFocusEventArgs class is used to /// notify elements before and after keyboard focus is acquired through /// a keyboard input provider. /// public class KeyboardInputProviderAcquireFocusEventArgs : KeyboardEventArgs { ////// Constructs an instance of the KeyboardInputProviderAcquireFocusEventArgs class. /// /// /// The logical keyboard device associated with this event. /// /// /// The time when the input occured. /// /// /// Whether or not interop focus was acquired. /// public KeyboardInputProviderAcquireFocusEventArgs(KeyboardDevice keyboard, int timestamp, bool focusAcquired) : base(keyboard, timestamp) { _focusAcquired = focusAcquired; } ////// The element that now has focus. /// public bool FocusAcquired { get {return _focusAcquired;} } ////// 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) { KeyboardInputProviderAcquireFocusEventHandler handler = (KeyboardInputProviderAcquireFocusEventHandler) genericHandler; handler(genericTarget, this); } private bool _focusAcquired; } } // 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
- FileRecordSequenceCompletedAsyncResult.cs
- Pen.cs
- Size.cs
- AlternateView.cs
- COAUTHIDENTITY.cs
- DataControlFieldCell.cs
- ListBase.cs
- SiteMapDesignerDataSourceView.cs
- WindowVisualStateTracker.cs
- Imaging.cs
- Int64Animation.cs
- FontStyles.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- XamlSerializerUtil.cs
- MultiView.cs
- WebPartTransformerCollection.cs
- BinHexDecoder.cs
- PictureBox.cs
- CorrelationQuery.cs
- ClientFactory.cs
- RequestNavigateEventArgs.cs
- TextEditorTables.cs
- BufferedGraphics.cs
- StrokeCollectionDefaultValueFactory.cs
- ProfileInfo.cs
- OutputCacheModule.cs
- jithelpers.cs
- ResourceWriter.cs
- XamlInterfaces.cs
- PasswordRecovery.cs
- ViewKeyConstraint.cs
- StrokeCollection.cs
- HtmlShim.cs
- Int32CollectionConverter.cs
- PnrpPermission.cs
- EntityException.cs
- PanelStyle.cs
- DetailsViewPageEventArgs.cs
- Int64Converter.cs
- Privilege.cs
- AssemblyCache.cs
- QueueProcessor.cs
- FullTextLine.cs
- JsonXmlDataContract.cs
- ToolStripPanel.cs
- WorkerProcess.cs
- TextHintingModeValidation.cs
- EmissiveMaterial.cs
- DesignerCommandAdapter.cs
- cookieexception.cs
- TableCell.cs
- SystemException.cs
- SmtpDigestAuthenticationModule.cs
- ScrollItemPattern.cs
- ApplicationServiceHelper.cs
- StorageMappingItemLoader.cs
- BasicExpressionVisitor.cs
- XmlUtil.cs
- ServicePointManagerElement.cs
- SafeReversePInvokeHandle.cs
- ContextQuery.cs
- UpdateManifestForBrowserApplication.cs
- XamlFilter.cs
- HealthMonitoringSectionHelper.cs
- LookupBindingPropertiesAttribute.cs
- SkipStoryboardToFill.cs
- DataGridAutomationPeer.cs
- WriteFileContext.cs
- QilGeneratorEnv.cs
- TypeElement.cs
- ClientOptions.cs
- UniqueIdentifierService.cs
- BamlWriter.cs
- ChtmlTextWriter.cs
- UnauthorizedAccessException.cs
- AdditionalEntityFunctions.cs
- SoapInteropTypes.cs
- RawStylusInputCustomDataList.cs
- XmlDocumentSurrogate.cs
- HttpPostClientProtocol.cs
- CodeTypeMember.cs
- XmlStringTable.cs
- XmlSchemaAttributeGroup.cs
- CaseExpr.cs
- xmlglyphRunInfo.cs
- IgnoreSection.cs
- WindowPattern.cs
- NoResizeSelectionBorderGlyph.cs
- AttachedPropertyInfo.cs
- DataContractSerializer.cs
- EntityException.cs
- XmlSchemaAttributeGroupRef.cs
- RtfToXamlReader.cs
- IISUnsafeMethods.cs
- CodeCommentStatement.cs
- HyperLinkField.cs
- CqlGenerator.cs
- UIElement3D.cs
- FormatStringEditor.cs
- DebuggerAttributes.cs