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
- SoapTypeAttribute.cs
- StrongNameIdentityPermission.cs
- SiteMapPath.cs
- StringFunctions.cs
- RectangleConverter.cs
- ContextQuery.cs
- VisualTransition.cs
- PolyBezierSegmentFigureLogic.cs
- COAUTHIDENTITY.cs
- XamlTreeBuilderBamlRecordWriter.cs
- EntityDataSource.cs
- RtfToXamlLexer.cs
- ObjectContext.cs
- TemplateKeyConverter.cs
- UpdateProgress.cs
- PiiTraceSource.cs
- ComponentRenameEvent.cs
- MarkupProperty.cs
- ArrayConverter.cs
- IPGlobalProperties.cs
- SqlDesignerDataSourceView.cs
- ComponentCollection.cs
- EditorPartChrome.cs
- _NegoStream.cs
- HtmlTable.cs
- DataGridTablesFactory.cs
- PersonalizationStateInfoCollection.cs
- GridItemPattern.cs
- XsltArgumentList.cs
- __Filters.cs
- CompileXomlTask.cs
- StringDictionaryWithComparer.cs
- TimeManager.cs
- AccessedThroughPropertyAttribute.cs
- AutomationPropertyInfo.cs
- Translator.cs
- BamlRecordReader.cs
- ParserExtension.cs
- PersonalizationAdministration.cs
- DataGridViewButtonColumn.cs
- DeflateEmulationStream.cs
- RotateTransform.cs
- SqlConnectionPoolProviderInfo.cs
- PowerEase.cs
- CompilationLock.cs
- BindingContext.cs
- WmpBitmapDecoder.cs
- DispatcherFrame.cs
- SqlMethods.cs
- arabicshape.cs
- DataGridViewColumnEventArgs.cs
- HelpProvider.cs
- DropDownButton.cs
- CompiledQuery.cs
- Repeater.cs
- FrameAutomationPeer.cs
- VirtualizingPanel.cs
- DictionaryMarkupSerializer.cs
- RelationshipConstraintValidator.cs
- LinqDataSourceContextEventArgs.cs
- SessionIDManager.cs
- HtmlHead.cs
- TemplatedMailWebEventProvider.cs
- AudioLevelUpdatedEventArgs.cs
- EntityConnection.cs
- ActivationArguments.cs
- ApplicationException.cs
- XmlSchemaExporter.cs
- HebrewCalendar.cs
- TraceHwndHost.cs
- TypedCompletedAsyncResult.cs
- TrackingAnnotationCollection.cs
- SqlXmlStorage.cs
- FragmentNavigationEventArgs.cs
- URIFormatException.cs
- PreviewPrintController.cs
- DataErrorValidationRule.cs
- PrinterResolution.cs
- designeractionlistschangedeventargs.cs
- JapaneseLunisolarCalendar.cs
- TokenBasedSet.cs
- LineInfo.cs
- DataSourceConverter.cs
- ActivityExecutionWorkItem.cs
- SafeRightsManagementQueryHandle.cs
- TextEditorCopyPaste.cs
- basecomparevalidator.cs
- BaseAddressPrefixFilterElement.cs
- ConnectionsZoneAutoFormat.cs
- EDesignUtil.cs
- Select.cs
- SystemMulticastIPAddressInformation.cs
- FrameworkTemplate.cs
- BuildResult.cs
- SoapWriter.cs
- CodeStatementCollection.cs
- _ConnectOverlappedAsyncResult.cs
- SafeNativeMethods.cs
- ISFClipboardData.cs
- SystemUnicastIPAddressInformation.cs