Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Core / CSharp / System / Windows / Input / InputDevice.cs / 1 / InputDevice.cs
using System.Windows.Threading;
using System;
namespace System.Windows.Input
{
///
/// Provides the base class for all input devices.
///
public abstract class InputDevice : DispatcherObject
{
///
/// Constructs an instance of the InputDevice class.
///
protected InputDevice()
{
// Only we can create these.
//
}
///
/// Returns the element that input from this device is sent to.
///
public abstract IInputElement Target{get;}
///
/// Returns the PresentationSource that is reporting input for this device.
///
public abstract PresentationSource ActiveSource { get; }
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
using System.Windows.Threading;
using System;
namespace System.Windows.Input
{
///
/// Provides the base class for all input devices.
///
public abstract class InputDevice : DispatcherObject
{
///
/// Constructs an instance of the InputDevice class.
///
protected InputDevice()
{
// Only we can create these.
//
}
///
/// Returns the element that input from this device is sent to.
///
public abstract IInputElement Target{get;}
///
/// Returns the PresentationSource that is reporting input for this device.
///
public abstract PresentationSource ActiveSource { get; }
}
}
// 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
- WindowsListViewScroll.cs
- PixelFormats.cs
- FlowDocumentPaginator.cs
- ColumnBinding.cs
- WorkflowControlEndpoint.cs
- UDPClient.cs
- BaseProcessor.cs
- UnsafeNativeMethods.cs
- KerberosReceiverSecurityToken.cs
- DataGridClipboardCellContent.cs
- Control.cs
- IndentedTextWriter.cs
- ExclusiveCanonicalizationTransform.cs
- BitmapSource.cs
- ToolStripItemRenderEventArgs.cs
- FixUp.cs
- HMACMD5.cs
- StringExpressionSet.cs
- MissingManifestResourceException.cs
- Misc.cs
- DecoderExceptionFallback.cs
- SqlCommand.cs
- WindowsSolidBrush.cs
- Converter.cs
- Command.cs
- BitSet.cs
- XamlClipboardData.cs
- ReadOnlyHierarchicalDataSource.cs
- XmlUnspecifiedAttribute.cs
- Context.cs
- XNodeSchemaApplier.cs
- DataControlPagerLinkButton.cs
- PerformanceCounter.cs
- SqlWorkflowInstanceStore.cs
- HybridCollection.cs
- AutoCompleteStringCollection.cs
- Canvas.cs
- Graph.cs
- PackageRelationship.cs
- Size.cs
- DataGridRowEventArgs.cs
- OleDbReferenceCollection.cs
- TrackingConditionCollection.cs
- FontStretchConverter.cs
- PropertyChangingEventArgs.cs
- ContentDisposition.cs
- DataServiceEntityAttribute.cs
- InputLangChangeEvent.cs
- ColorAnimationUsingKeyFrames.cs
- MultipartContentParser.cs
- TerminatorSinks.cs
- Style.cs
- oledbmetadatacolumnnames.cs
- DependencyPropertyDescriptor.cs
- BufferedStream.cs
- RSAOAEPKeyExchangeDeformatter.cs
- AttributeProviderAttribute.cs
- DataListItemEventArgs.cs
- WindowsFont.cs
- TextEffect.cs
- DrawingCollection.cs
- AuthenticationService.cs
- EntityTypeBase.cs
- ProfilePropertySettingsCollection.cs
- BitmapEffectDrawing.cs
- validationstate.cs
- AdjustableArrowCap.cs
- OutputCacheProfile.cs
- DataGridViewButtonCell.cs
- RemoteAsymmetricSignatureFormatter.cs
- ScaleTransform3D.cs
- ImageListDesigner.cs
- OleDbTransaction.cs
- Point3DAnimation.cs
- DeferredSelectedIndexReference.cs
- MetroSerializationManager.cs
- LinkUtilities.cs
- SymLanguageVendor.cs
- Wizard.cs
- ExceptionUtil.cs
- SystemBrushes.cs
- ModuleElement.cs
- ParamArrayAttribute.cs
- Transform.cs
- BuildProvider.cs
- HandlerFactoryCache.cs
- XmlFormatReaderGenerator.cs
- KeyGestureConverter.cs
- ListItemParagraph.cs
- WebExceptionStatus.cs
- PlacementWorkspace.cs
- DataGridColumnHeaderAutomationPeer.cs
- Boolean.cs
- TextCollapsingProperties.cs
- InvalidDataException.cs
- WindowsFormsSectionHandler.cs
- MetadataItem.cs
- MemoryRecordBuffer.cs
- CheckPair.cs
- RelationshipManager.cs