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
- Compiler.cs
- CursorInteropHelper.cs
- NamespaceInfo.cs
- SQLBinaryStorage.cs
- handlecollector.cs
- ObjectQuery_EntitySqlExtensions.cs
- SchemaImporterExtension.cs
- DataGridViewColumnEventArgs.cs
- BooleanAnimationBase.cs
- OdbcErrorCollection.cs
- GuidelineCollection.cs
- PageSetupDialog.cs
- GridViewUpdateEventArgs.cs
- DBConnectionString.cs
- Panel.cs
- Cursor.cs
- HexParser.cs
- RegexCode.cs
- ButtonBase.cs
- ListCollectionView.cs
- BaseProcessor.cs
- Compiler.cs
- WebPageTraceListener.cs
- HostingEnvironment.cs
- TransformGroup.cs
- XmlSchemaInferenceException.cs
- CheckBoxBaseAdapter.cs
- XmlUTF8TextReader.cs
- ITreeGenerator.cs
- SelectionListDesigner.cs
- SvcFileManager.cs
- XmlSchemaAttributeGroup.cs
- Image.cs
- AppSettingsExpressionBuilder.cs
- SpellerHighlightLayer.cs
- EntityDataSourceMemberPath.cs
- ConfigXmlWhitespace.cs
- TemplatedAdorner.cs
- StreamMarshaler.cs
- OneOfConst.cs
- XPathExpr.cs
- OdbcParameter.cs
- GenericWebPart.cs
- BitSet.cs
- WebPartDescriptionCollection.cs
- GenericRootAutomationPeer.cs
- TextEditorContextMenu.cs
- PostBackOptions.cs
- Wow64ConfigurationLoader.cs
- DefaultBinder.cs
- UpdatePanel.cs
- DataGridRowsPresenter.cs
- CharacterString.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- CodeMethodMap.cs
- UrlAuthFailureHandler.cs
- DesignerSerializationOptionsAttribute.cs
- CodeBlockBuilder.cs
- DesignerDataStoredProcedure.cs
- DynamicDiscoSearcher.cs
- SiteMapDataSourceView.cs
- ProbeMatches11.cs
- GridViewColumnHeader.cs
- ObjectQuery.cs
- Rect3D.cs
- Lazy.cs
- InOutArgument.cs
- TableParagraph.cs
- WebServiceParameterData.cs
- SoapWriter.cs
- TabPanel.cs
- BinaryEditor.cs
- CardSpaceException.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- OleDbParameter.cs
- BrowserCapabilitiesFactoryBase.cs
- MailAddressParser.cs
- RelatedEnd.cs
- WindowsImpersonationContext.cs
- AssemblyInfo.cs
- securestring.cs
- NativeRecognizer.cs
- StaticTextPointer.cs
- SignedXml.cs
- ListViewEditEventArgs.cs
- XmlSchemaNotation.cs
- ListViewItemSelectionChangedEvent.cs
- FileUtil.cs
- TabItemWrapperAutomationPeer.cs
- KnownTypeDataContractResolver.cs
- _WebProxyDataBuilder.cs
- MarkupExtensionReturnTypeAttribute.cs
- XmlResolver.cs
- ObjectViewListener.cs
- SamlConstants.cs
- BinaryObjectReader.cs
- X509RawDataKeyIdentifierClause.cs
- OutOfProcStateClientManager.cs
- PropertyConverter.cs
- RegistryPermission.cs