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
- DateTimeOffset.cs
- ImportCatalogPart.cs
- Parameter.cs
- NavigatorOutput.cs
- SharedStatics.cs
- Win32.cs
- XmlSchemaImporter.cs
- HostSecurityManager.cs
- DataContext.cs
- MessageDecoder.cs
- AssemblyCache.cs
- AddInEnvironment.cs
- DataGridViewCellValidatingEventArgs.cs
- SurrogateSelector.cs
- HttpChannelHelper.cs
- NullableDecimalMinMaxAggregationOperator.cs
- ConnectionStringSettingsCollection.cs
- HttpSessionStateBase.cs
- MediaCommands.cs
- TaskForm.cs
- ItemCollection.cs
- ToolStripRendererSwitcher.cs
- configsystem.cs
- Point4DValueSerializer.cs
- FormClosedEvent.cs
- FacetValues.cs
- HttpModule.cs
- FloaterBaseParagraph.cs
- keycontainerpermission.cs
- DataSourceProvider.cs
- StreamAsIStream.cs
- BufferModeSettings.cs
- GeneralTransform3DTo2DTo3D.cs
- Membership.cs
- PropertyEmitterBase.cs
- CodeMemberProperty.cs
- DragDrop.cs
- GridView.cs
- CollectionViewGroup.cs
- Clause.cs
- SharedPerformanceCounter.cs
- ComplexType.cs
- ColorAnimationBase.cs
- ResizeBehavior.cs
- ObjectAnimationUsingKeyFrames.cs
- OperatingSystem.cs
- DiscoveryEndpointElement.cs
- HttpContextServiceHost.cs
- DataGridViewUtilities.cs
- Blend.cs
- ActivityPreviewDesigner.cs
- FunctionMappingTranslator.cs
- MenuStrip.cs
- ListViewItem.cs
- DbSetClause.cs
- SpeakInfo.cs
- TraceSection.cs
- DataColumnChangeEvent.cs
- ThousandthOfEmRealDoubles.cs
- DataGridViewAutoSizeModeEventArgs.cs
- Int32RectValueSerializer.cs
- RtfControlWordInfo.cs
- WebPageTraceListener.cs
- MimeFormatter.cs
- PersonalizableTypeEntry.cs
- HttpWriter.cs
- InputReportEventArgs.cs
- DocumentGridContextMenu.cs
- RectAnimationBase.cs
- Listbox.cs
- XmlIgnoreAttribute.cs
- ActivationProxy.cs
- InfoCardKeyedHashAlgorithm.cs
- BitmapEffectvisualstate.cs
- MimeXmlImporter.cs
- DocumentXPathNavigator.cs
- SafeHandles.cs
- LocalizabilityAttribute.cs
- TextEditorCopyPaste.cs
- UdpDiscoveryEndpointElement.cs
- ToolStripCustomTypeDescriptor.cs
- Normalization.cs
- DaylightTime.cs
- BlobPersonalizationState.cs
- RequestCachingSection.cs
- SettingsContext.cs
- XmlUTF8TextReader.cs
- WebPermission.cs
- TextShapeableCharacters.cs
- StylusPointPropertyInfo.cs
- ExpressionVisitor.cs
- SqlDataRecord.cs
- SymbolEqualComparer.cs
- nulltextnavigator.cs
- StateInitializationDesigner.cs
- dtdvalidator.cs
- EntitySetBaseCollection.cs
- ActivationArguments.cs
- RectValueSerializer.cs
- NativeWindow.cs