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
- PageWrapper.cs
- RestHandler.cs
- SudsWriter.cs
- EventListenerClientSide.cs
- ToolboxBitmapAttribute.cs
- MsdtcWrapper.cs
- ExternalFile.cs
- MeasureItemEvent.cs
- OracleEncoding.cs
- CollectionEditVerbManager.cs
- SqlDelegatedTransaction.cs
- ConfigurationValue.cs
- X509Certificate.cs
- DataIdProcessor.cs
- precedingquery.cs
- MetadataProperty.cs
- ZipIOLocalFileBlock.cs
- FlowLayoutPanel.cs
- WindowsProgressbar.cs
- WindowsGraphics.cs
- UserControlAutomationPeer.cs
- Bold.cs
- ScriptComponentDescriptor.cs
- HttpFileCollectionBase.cs
- UIElementParagraph.cs
- IdentifierService.cs
- OdbcConnectionString.cs
- MasterPage.cs
- StandardToolWindows.cs
- BitmapSource.cs
- ZipFileInfoCollection.cs
- QilFunction.cs
- ConfigurationElement.cs
- Bits.cs
- InvokePattern.cs
- CustomPopupPlacement.cs
- FamilyMapCollection.cs
- ArrayConverter.cs
- oledbmetadatacolumnnames.cs
- WebPartZoneCollection.cs
- CombinedGeometry.cs
- InputScopeConverter.cs
- SignatureToken.cs
- WebMessageEncodingBindingElement.cs
- DataGridPageChangedEventArgs.cs
- ExceptionHandler.cs
- SequenceFullException.cs
- XmlSchemaComplexContentRestriction.cs
- InheritanceRules.cs
- WindowInteractionStateTracker.cs
- BinaryObjectInfo.cs
- Bits.cs
- HttpListenerRequest.cs
- ObjectStateEntryDbDataRecord.cs
- ellipse.cs
- DependencyPropertyValueSerializer.cs
- ToolStripItemClickedEventArgs.cs
- ContainsRowNumberChecker.cs
- xamlnodes.cs
- PeerApplicationLaunchInfo.cs
- OracleCommandBuilder.cs
- RtfToken.cs
- PreloadHost.cs
- MediaTimeline.cs
- DataSvcMapFileSerializer.cs
- SettingsAttributes.cs
- StateRuntime.cs
- ContextMenuStripGroupCollection.cs
- XsltLibrary.cs
- DependencyPropertyDescriptor.cs
- RijndaelCryptoServiceProvider.cs
- SafeArrayTypeMismatchException.cs
- NavigationPropertyEmitter.cs
- RemoteWebConfigurationHost.cs
- StringInfo.cs
- DrawingDrawingContext.cs
- PreservationFileWriter.cs
- WebServiceData.cs
- ScriptResourceMapping.cs
- WeakReferenceKey.cs
- ActivitiesCollection.cs
- DesignerTextWriter.cs
- GregorianCalendar.cs
- CommandConverter.cs
- DbProviderFactoriesConfigurationHandler.cs
- GetChildSubtree.cs
- RemotingConfiguration.cs
- Label.cs
- UnsafeNativeMethods.cs
- DeleteHelper.cs
- FormViewDeletedEventArgs.cs
- TriggerActionCollection.cs
- ReferentialConstraint.cs
- MenuBindingsEditorForm.cs
- PresentationAppDomainManager.cs
- SQLChars.cs
- TokenizerHelper.cs
- InputBinder.cs
- BrowserCapabilitiesFactoryBase.cs
- SharedRuntimeState.cs