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
- TextViewBase.cs
- LambdaValue.cs
- XmlSchemaAppInfo.cs
- DataListItemEventArgs.cs
- ClipboardData.cs
- BitHelper.cs
- Matrix.cs
- BamlLocalizationDictionary.cs
- ImageAnimator.cs
- ListViewSelectEventArgs.cs
- SchemaElementDecl.cs
- TdsValueSetter.cs
- RegexRunnerFactory.cs
- BoundPropertyEntry.cs
- SafeProcessHandle.cs
- FixedSOMLineCollection.cs
- LabelTarget.cs
- AssociationProvider.cs
- Codec.cs
- TargetPerspective.cs
- OleDbParameterCollection.cs
- ContentElement.cs
- IndexedDataBuffer.cs
- SmiGettersStream.cs
- ScopedMessagePartSpecification.cs
- EditBehavior.cs
- FieldNameLookup.cs
- InstanceNotFoundException.cs
- SoapAttributeAttribute.cs
- UIElement3D.cs
- InfoCardX509Validator.cs
- SimpleHandlerBuildProvider.cs
- RtfToken.cs
- InstanceHandleReference.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- BreakSafeBase.cs
- DispatcherSynchronizationContext.cs
- SqlDataReaderSmi.cs
- TimeSpanStorage.cs
- WebPartConnectVerb.cs
- DecoderExceptionFallback.cs
- SerializeAbsoluteContext.cs
- _SpnDictionary.cs
- DbModificationClause.cs
- XPathAxisIterator.cs
- basenumberconverter.cs
- OrderedHashRepartitionStream.cs
- SqlMultiplexer.cs
- FormView.cs
- Security.cs
- SqlDataSourceStatusEventArgs.cs
- SSmlParser.cs
- BoundPropertyEntry.cs
- TypeDescriptionProviderAttribute.cs
- ObjectNotFoundException.cs
- SapiRecognizer.cs
- ScrollItemPattern.cs
- CompModSwitches.cs
- PropertyDescriptorGridEntry.cs
- SqlBooleanizer.cs
- UrlMappingCollection.cs
- RealProxy.cs
- TextSchema.cs
- WorkflowTransactionOptions.cs
- MetadataCache.cs
- ReadOnlyHierarchicalDataSource.cs
- DbMetaDataFactory.cs
- Double.cs
- EmptyReadOnlyDictionaryInternal.cs
- IssuedTokenServiceElement.cs
- CancelRequestedQuery.cs
- SingleTagSectionHandler.cs
- UrlMappingsModule.cs
- AutomationPeer.cs
- InvalidCastException.cs
- Condition.cs
- OutgoingWebRequestContext.cs
- AttributeSetAction.cs
- SQLChars.cs
- DBAsyncResult.cs
- EnumerableRowCollectionExtensions.cs
- FileDialogPermission.cs
- WindowsTreeView.cs
- METAHEADER.cs
- SymbolType.cs
- SystemResourceKey.cs
- DesignerActionUIStateChangeEventArgs.cs
- HostingEnvironmentSection.cs
- Tokenizer.cs
- Instrumentation.cs
- IIS7ConfigurationLoader.cs
- AsymmetricKeyExchangeDeformatter.cs
- ScrollProviderWrapper.cs
- WebPartExportVerb.cs
- MetabaseReader.cs
- MessageBox.cs
- SQLChars.cs
- XmlCollation.cs
- Propagator.JoinPropagator.cs
- DbParameterCollection.cs