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
- SqlProfileProvider.cs
- ConditionalAttribute.cs
- EndpointIdentityExtension.cs
- MetadataArtifactLoaderCompositeResource.cs
- ResizeGrip.cs
- ToolStripItemRenderEventArgs.cs
- OneToOneMappingSerializer.cs
- SequenceFullException.cs
- CodeGeneratorOptions.cs
- ScrollItemPatternIdentifiers.cs
- ADMembershipProvider.cs
- PositiveTimeSpanValidator.cs
- basevalidator.cs
- HandleCollector.cs
- LinqDataSourceView.cs
- KeyNotFoundException.cs
- HitTestDrawingContextWalker.cs
- HttpResponseInternalWrapper.cs
- PropertyManager.cs
- TreeNodeStyle.cs
- GenericAuthenticationEventArgs.cs
- ReliableChannelFactory.cs
- ManagementNamedValueCollection.cs
- HMACSHA512.cs
- Visual3D.cs
- ContextBase.cs
- SessionStateSection.cs
- GridViewSelectEventArgs.cs
- PowerModeChangedEventArgs.cs
- BamlLocalizationDictionary.cs
- ClientRoleProvider.cs
- DataListItemEventArgs.cs
- wgx_sdk_version.cs
- WindowsSpinner.cs
- AutoResetEvent.cs
- ConnectorMovedEventArgs.cs
- HGlobalSafeHandle.cs
- EntityDataSourceSelectedEventArgs.cs
- ContractTypeNameCollection.cs
- MailSettingsSection.cs
- SHA512Managed.cs
- MetadataSerializer.cs
- ProtocolElement.cs
- ComponentRenameEvent.cs
- GroupItem.cs
- ListViewCancelEventArgs.cs
- ColumnTypeConverter.cs
- filewebresponse.cs
- SafeArchiveContext.cs
- xml.cs
- StylusPointDescription.cs
- ChtmlLinkAdapter.cs
- EntityDataSourceDataSelectionPanel.cs
- InputGestureCollection.cs
- SymmetricAlgorithm.cs
- ListBindingHelper.cs
- HtmlLinkAdapter.cs
- HtmlTableCellCollection.cs
- CodeTypeDeclarationCollection.cs
- WebPartConnectionsConfigureVerb.cs
- StorageRoot.cs
- VisualStyleElement.cs
- TableLayoutColumnStyleCollection.cs
- TableCell.cs
- AttributeAction.cs
- VarRemapper.cs
- CellQuery.cs
- Condition.cs
- WebPartDisplayModeCancelEventArgs.cs
- XmlLanguage.cs
- ListViewSortEventArgs.cs
- TypeValidationEventArgs.cs
- TextRangeSerialization.cs
- securestring.cs
- PartialTrustVisibleAssemblyCollection.cs
- DefaultSettingsSection.cs
- _BaseOverlappedAsyncResult.cs
- IdentifierService.cs
- VisualBasicImportReference.cs
- XmlSchemaSimpleTypeUnion.cs
- SemaphoreFullException.cs
- DynamicPropertyReader.cs
- WindowsRebar.cs
- Visitor.cs
- SiteMapDataSource.cs
- ResizeGrip.cs
- AssemblyHash.cs
- NTAccount.cs
- DescendantOverDescendantQuery.cs
- _AuthenticationState.cs
- LiteralText.cs
- CollectionDataContractAttribute.cs
- DesignerOptionService.cs
- WebPartConnectionsConnectVerb.cs
- DataGridViewCellValueEventArgs.cs
- COM2ComponentEditor.cs
- SendActivity.cs
- SymDocumentType.cs
- PerformanceCounterLib.cs
- BrowserInteropHelper.cs