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
- IEnumerable.cs
- AddInActivator.cs
- ContactManager.cs
- DefaultValueAttribute.cs
- OrderedParallelQuery.cs
- ReliableChannelListener.cs
- HttpCachePolicyWrapper.cs
- ImageBrush.cs
- InternalsVisibleToAttribute.cs
- Native.cs
- LinqDataSourceValidationException.cs
- CodeValidator.cs
- VoiceInfo.cs
- SchemaNamespaceManager.cs
- HtmlElementEventArgs.cs
- EntityTypeEmitter.cs
- BitmapEffect.cs
- FacetValues.cs
- ExtensibleClassFactory.cs
- FormClosedEvent.cs
- AccessText.cs
- XmlTextReaderImpl.cs
- StreamMarshaler.cs
- ApplicationFileParser.cs
- ExeConfigurationFileMap.cs
- ToolStripItem.cs
- ProtectedConfigurationSection.cs
- SspiSafeHandles.cs
- Math.cs
- SignerInfo.cs
- QueryableFilterRepeater.cs
- FastEncoderWindow.cs
- DummyDataSource.cs
- AnnotationHelper.cs
- MouseActionConverter.cs
- FormViewCommandEventArgs.cs
- XmlReader.cs
- Update.cs
- DoubleLinkListEnumerator.cs
- WriteTimeStream.cs
- StateMachineWorkflowInstance.cs
- TrustSection.cs
- StreamWithDictionary.cs
- BlurBitmapEffect.cs
- DependentTransaction.cs
- WebBrowserBase.cs
- XomlDesignerLoader.cs
- ItemList.cs
- DrawingGroup.cs
- VirtualizedItemPattern.cs
- ResourcesBuildProvider.cs
- DataSpaceManager.cs
- MethodExpr.cs
- NamedObject.cs
- Command.cs
- UiaCoreApi.cs
- XmlSchemaAttributeGroupRef.cs
- TemplateXamlParser.cs
- MasterPageParser.cs
- Int32AnimationBase.cs
- QuestionEventArgs.cs
- FixedHighlight.cs
- RegexCode.cs
- Site.cs
- ExtensibleClassFactory.cs
- FrameworkPropertyMetadata.cs
- JsonFaultDetail.cs
- DBProviderConfigurationHandler.cs
- MenuAutoFormat.cs
- DispatcherOperation.cs
- Panel.cs
- SettingsBase.cs
- LedgerEntryCollection.cs
- Pointer.cs
- WebScriptMetadataMessage.cs
- BulletChrome.cs
- MessageSmuggler.cs
- ThreadNeutralSemaphore.cs
- XmlUrlResolver.cs
- WebConfigurationManager.cs
- SizeChangedEventArgs.cs
- BaseCodeDomTreeGenerator.cs
- DelayDesigner.cs
- Misc.cs
- SqlUdtInfo.cs
- TextSelection.cs
- Propagator.cs
- M3DUtil.cs
- webeventbuffer.cs
- EntityParameter.cs
- ServicePerformanceCounters.cs
- StylusPointPropertyInfo.cs
- QueryOutputWriter.cs
- XmlSignatureProperties.cs
- SpnEndpointIdentityExtension.cs
- ListViewGroupItemCollection.cs
- SqlTypesSchemaImporter.cs
- ImageAttributes.cs
- LinkedResourceCollection.cs
- WebPartCancelEventArgs.cs