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
- VoiceChangeEventArgs.cs
- TextMetrics.cs
- SystemIcmpV4Statistics.cs
- AppDomain.cs
- KeyNameIdentifierClause.cs
- MouseGesture.cs
- PublisherMembershipCondition.cs
- InputScopeAttribute.cs
- SourceItem.cs
- SystemFonts.cs
- PlatformCulture.cs
- InstanceCollisionException.cs
- GuidelineSet.cs
- OciHandle.cs
- TemplatedWizardStep.cs
- XmlSecureResolver.cs
- ContentType.cs
- RegisteredArrayDeclaration.cs
- ControlPaint.cs
- TextBox.cs
- DataServiceCollectionOfT.cs
- EncryptedType.cs
- KeyInterop.cs
- SystemException.cs
- CompilationUnit.cs
- TdsParserStaticMethods.cs
- FormViewModeEventArgs.cs
- TypeForwardedToAttribute.cs
- ProfessionalColors.cs
- AnnotationHighlightLayer.cs
- FileClassifier.cs
- TagPrefixAttribute.cs
- MdImport.cs
- CellCreator.cs
- MatrixUtil.cs
- ConfigXmlAttribute.cs
- DbSetClause.cs
- ParallelDesigner.cs
- SafeViewOfFileHandle.cs
- UniqueIdentifierService.cs
- ObjectListDataBindEventArgs.cs
- ListControlConvertEventArgs.cs
- DbCommandDefinition.cs
- TableCell.cs
- XsltLoader.cs
- WsdlImporterElementCollection.cs
- HttpModulesSection.cs
- Composition.cs
- GridPatternIdentifiers.cs
- QilInvoke.cs
- OleServicesContext.cs
- ClientFormsAuthenticationCredentials.cs
- UTF7Encoding.cs
- GridLength.cs
- LineUtil.cs
- PathFigure.cs
- ViewStateException.cs
- UniqueEventHelper.cs
- PenThreadWorker.cs
- dataprotectionpermission.cs
- SplitterEvent.cs
- Image.cs
- HashAlgorithm.cs
- FutureFactory.cs
- SendMailErrorEventArgs.cs
- SelectorItemAutomationPeer.cs
- DocumentSequenceHighlightLayer.cs
- EmissiveMaterial.cs
- ProbeMatchesApril2005.cs
- X509PeerCertificateAuthentication.cs
- Visual3D.cs
- LockCookie.cs
- SettingsSavedEventArgs.cs
- newinstructionaction.cs
- ValidationRule.cs
- CacheRequest.cs
- XmlnsPrefixAttribute.cs
- sqlnorm.cs
- WebControl.cs
- EntityUtil.cs
- EnumConverter.cs
- ControlOperationBehavior.cs
- TextSelectionHighlightLayer.cs
- DetailsViewInsertedEventArgs.cs
- UxThemeWrapper.cs
- ClientRoleProvider.cs
- DataViewSettingCollection.cs
- StylusDownEventArgs.cs
- HwndSource.cs
- ProxyRpc.cs
- DbTransaction.cs
- SqlUserDefinedTypeAttribute.cs
- ToolboxComponentsCreatingEventArgs.cs
- SchemaContext.cs
- TextViewSelectionProcessor.cs
- SmiConnection.cs
- BrushValueSerializer.cs
- ConfigurationPropertyAttribute.cs
- SmtpNetworkElement.cs
- EventSinkHelperWriter.cs