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
- AssemblyAttributes.cs
- LinqDataSourceInsertEventArgs.cs
- MessageQueueConverter.cs
- StylusPlugin.cs
- ZoneButton.cs
- base64Transforms.cs
- BaseCollection.cs
- DeploymentExceptionMapper.cs
- ParsedAttributeCollection.cs
- InputProcessorProfilesLoader.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- OwnerDrawPropertyBag.cs
- SettingsSavedEventArgs.cs
- CodeNamespaceCollection.cs
- Marshal.cs
- EntityContainerEntitySet.cs
- ListViewCancelEventArgs.cs
- HiddenFieldPageStatePersister.cs
- Filter.cs
- StrokeCollectionDefaultValueFactory.cs
- UxThemeWrapper.cs
- TypedAsyncResult.cs
- HttpVersion.cs
- StrokeFIndices.cs
- XPathParser.cs
- ParentQuery.cs
- ByeOperation11AsyncResult.cs
- HttpClientCertificate.cs
- ObjectQuery_EntitySqlExtensions.cs
- CustomValidator.cs
- UrlPath.cs
- ReturnEventArgs.cs
- FindCriteriaCD1.cs
- LocalizableAttribute.cs
- DataGridViewRowEventArgs.cs
- UInt16.cs
- BaseTemplateParser.cs
- NetworkInformationPermission.cs
- SoapObjectWriter.cs
- MeshGeometry3D.cs
- StateBag.cs
- FilterQueryOptionExpression.cs
- RegexStringValidator.cs
- IisTraceWebEventProvider.cs
- GeometryValueSerializer.cs
- EventSetter.cs
- ThrowHelper.cs
- XsltContext.cs
- TdsParserStateObject.cs
- SqlRemoveConstantOrderBy.cs
- CultureSpecificStringDictionary.cs
- SubtreeProcessor.cs
- SliderAutomationPeer.cs
- ToolStripPanel.cs
- LoginUtil.cs
- ApplicationCommands.cs
- ClientType.cs
- ToolboxCategoryItems.cs
- ObjectConverter.cs
- CapabilitiesAssignment.cs
- objectresult_tresulttype.cs
- DocComment.cs
- __Filters.cs
- Oid.cs
- HttpCapabilitiesSectionHandler.cs
- InputProcessorProfiles.cs
- WindowsSolidBrush.cs
- QueryOutputWriter.cs
- RawKeyboardInputReport.cs
- StoreAnnotationsMap.cs
- StylusPointPropertyInfoDefaults.cs
- SystemNetHelpers.cs
- hresults.cs
- TextEditorThreadLocalStore.cs
- GridViewColumn.cs
- ProtocolsInstallComponent.cs
- PlainXmlDeserializer.cs
- ProfessionalColorTable.cs
- InvalidateEvent.cs
- AppModelKnownContentFactory.cs
- DBCommandBuilder.cs
- StringCollectionMarkupSerializer.cs
- SQLRoleProvider.cs
- DataGridItemEventArgs.cs
- ThemeDictionaryExtension.cs
- EmissiveMaterial.cs
- Base64Decoder.cs
- RuntimeConfig.cs
- HtmlGenericControl.cs
- SelectionRangeConverter.cs
- EventLogEntryCollection.cs
- StrokeDescriptor.cs
- FlowLayout.cs
- ListItemCollection.cs
- SecurityContextTokenValidationException.cs
- RoleService.cs
- BitmapEffectGroup.cs
- SqlStream.cs
- InplaceBitmapMetadataWriter.cs
- XmlDataSourceNodeDescriptor.cs