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
- HitTestDrawingContextWalker.cs
- Dictionary.cs
- TransactionInformation.cs
- UpdateRecord.cs
- NativeStructs.cs
- SqlComparer.cs
- BinHexEncoder.cs
- FrameworkElementFactory.cs
- SerializationUtility.cs
- ViewGenerator.cs
- VarInfo.cs
- ServiceXNameTypeConverter.cs
- DependencyPropertyConverter.cs
- WebPartUtil.cs
- HandleValueEditor.cs
- SqlTypesSchemaImporter.cs
- ListDictionaryInternal.cs
- DocumentSequence.cs
- KernelTypeValidation.cs
- UrlMappingCollection.cs
- XhtmlTextWriter.cs
- FileDataSourceCache.cs
- X509InitiatorCertificateClientElement.cs
- PathStreamGeometryContext.cs
- Int32CAMarshaler.cs
- EventMappingSettings.cs
- ImportContext.cs
- DataBindingCollection.cs
- CSharpCodeProvider.cs
- ObfuscateAssemblyAttribute.cs
- MarkupExtensionParser.cs
- OutputCacheEntry.cs
- ButtonStandardAdapter.cs
- MetadataArtifactLoaderCompositeResource.cs
- MediaContextNotificationWindow.cs
- XmlSchemaComplexContent.cs
- EnvelopedSignatureTransform.cs
- BoolExpressionVisitors.cs
- ResXResourceWriter.cs
- XNodeNavigator.cs
- RangeValueProviderWrapper.cs
- WCFModelStrings.Designer.cs
- SiteOfOriginPart.cs
- sqlinternaltransaction.cs
- ReservationCollection.cs
- XmlEnumAttribute.cs
- ColorKeyFrameCollection.cs
- EventLogSession.cs
- FaultCallbackWrapper.cs
- UrlMappingCollection.cs
- ToolStripItemClickedEventArgs.cs
- OSEnvironmentHelper.cs
- SerializerWriterEventHandlers.cs
- COM2Properties.cs
- SoapException.cs
- OledbConnectionStringbuilder.cs
- TwoPhaseCommitProxy.cs
- EntityDataSourceUtil.cs
- SqlDataSourceStatusEventArgs.cs
- SchemaAttDef.cs
- FamilyMapCollection.cs
- EntryPointNotFoundException.cs
- XmlSchemaSimpleType.cs
- DispatcherTimer.cs
- DataGridViewRowPrePaintEventArgs.cs
- ManagementObject.cs
- Speller.cs
- PrimitiveList.cs
- Menu.cs
- HtmlToClrEventProxy.cs
- DocumentViewerBase.cs
- ConnectionManagementElement.cs
- NameValueFileSectionHandler.cs
- GPRECTF.cs
- TypeConverterHelper.cs
- ResetableIterator.cs
- TextOutput.cs
- AppDomainAttributes.cs
- DetailsViewDeleteEventArgs.cs
- AsyncStreamReader.cs
- Operators.cs
- OLEDB_Util.cs
- DbReferenceCollection.cs
- SqlClientWrapperSmiStreamChars.cs
- TextRenderingModeValidation.cs
- UIElementAutomationPeer.cs
- BaseComponentEditor.cs
- WebCategoryAttribute.cs
- AsymmetricKeyExchangeFormatter.cs
- PropertyConverter.cs
- DataAdapter.cs
- PageSettings.cs
- DbModificationCommandTree.cs
- ResourceManager.cs
- AnimationTimeline.cs
- StronglyTypedResourceBuilder.cs
- WeakReferenceKey.cs
- RegistryPermission.cs
- Section.cs
- XmlSchemaObjectCollection.cs