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
- ContainerUtilities.cs
- FormViewInsertEventArgs.cs
- AlignmentXValidation.cs
- AssociationSetMetadata.cs
- XmlDataSourceView.cs
- SplitterPanelDesigner.cs
- SHA512.cs
- _NegoState.cs
- HashCodeCombiner.cs
- UInt16.cs
- _LocalDataStoreMgr.cs
- HMACRIPEMD160.cs
- DocumentViewerAutomationPeer.cs
- MsdtcWrapper.cs
- XmlValidatingReaderImpl.cs
- CustomValidator.cs
- ResolvedKeyFrameEntry.cs
- DataGridViewCellCancelEventArgs.cs
- PriorityQueue.cs
- IdentifierCollection.cs
- TypeNameHelper.cs
- MailSettingsSection.cs
- Domain.cs
- DistributedTransactionPermission.cs
- DateTimeValueSerializerContext.cs
- SourceFilter.cs
- AssemblyAttributesGoHere.cs
- FtpCachePolicyElement.cs
- WebServiceMethodData.cs
- FixedTextPointer.cs
- RolePrincipal.cs
- IndexOutOfRangeException.cs
- RSAPKCS1SignatureDeformatter.cs
- ParallelEnumerable.cs
- XmlSchemaCollection.cs
- DrawItemEvent.cs
- CacheOutputQuery.cs
- WebPageTraceListener.cs
- BlurEffect.cs
- SchemaImporterExtensionsSection.cs
- MemberAccessException.cs
- RecommendedAsConfigurableAttribute.cs
- StructuredProperty.cs
- UIntPtr.cs
- XsltException.cs
- CodeCatchClause.cs
- UIElementHelper.cs
- ServiceManager.cs
- ButtonPopupAdapter.cs
- Triangle.cs
- PriorityBinding.cs
- RegexFCD.cs
- HttpHandler.cs
- ExpressionBuilderCollection.cs
- DigestTraceRecordHelper.cs
- ConditionBrowserDialog.cs
- VectorAnimation.cs
- StringDictionary.cs
- UseAttributeSetsAction.cs
- Calendar.cs
- ColumnResizeAdorner.cs
- FilterQuery.cs
- SqlVisitor.cs
- HtmlForm.cs
- SuppressMessageAttribute.cs
- UnicodeEncoding.cs
- ReverseInheritProperty.cs
- CardSpaceSelector.cs
- TreeNode.cs
- ReadOnlyDictionary.cs
- XmlSchemaAll.cs
- DebugInfoGenerator.cs
- Matrix.cs
- ObfuscateAssemblyAttribute.cs
- CompilerGeneratedAttribute.cs
- OdbcErrorCollection.cs
- XmlDataFileEditor.cs
- SecurityAppliedMessage.cs
- TableCell.cs
- AmbientValueAttribute.cs
- RecordConverter.cs
- DesignerPainter.cs
- TypographyProperties.cs
- EntityDataSourceColumn.cs
- InvalidWMPVersionException.cs
- _PooledStream.cs
- MasterPage.cs
- ListMarkerSourceInfo.cs
- EventRecordWrittenEventArgs.cs
- TextServicesPropertyRanges.cs
- HtmlHead.cs
- XmlSchemaImport.cs
- AssemblyInfo.cs
- ListViewGroup.cs
- InvokeMemberBinder.cs
- AesManaged.cs
- ToolStripComboBox.cs
- NumberFormatInfo.cs
- NameTable.cs
- SqlProcedureAttribute.cs