Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / Stylus / StylusDownEventArgs.cs / 1 / StylusDownEventArgs.cs
using System;
using System.Collections;
using System.ComponentModel;
using System.Windows.Media;
namespace System.Windows.Input
{
/////////////////////////////////////////////////////////////////////////
///
///Event argument used to subscribe to StylusDown events.
///
public class StylusDownEventArgs : StylusEventArgs
{
/////////////////////////////////////////////////////////////////////
///
/// Initializes a new instance of the StylusDownEventArgs class.
///
///
/// The logical Stylus device associated with this event.
///
///
/// The time when the input occured.
///
public StylusDownEventArgs(
StylusDevice stylusDevice, int timestamp)
:
base(stylusDevice, timestamp)
{
}
///
/// Read access to the stylus tap count.
///
public int TapCount
{
get {return StylusDevice.TapCount;}
}
/////////////////////////////////////////////////////////////////////
///
/// 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)
{
StylusDownEventHandler handler = (StylusDownEventHandler)genericHandler;
handler(genericTarget, this);
}
}
}
// 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
- Attributes.cs
- SequentialWorkflowHeaderFooter.cs
- XmlDataImplementation.cs
- StylusCollection.cs
- BitArray.cs
- ThousandthOfEmRealPoints.cs
- HintTextMaxWidthConverter.cs
- WebPartPersonalization.cs
- TabItem.cs
- TrackBarDesigner.cs
- ContainsRowNumberChecker.cs
- DataBindingExpressionBuilder.cs
- ComponentCollection.cs
- SwitchLevelAttribute.cs
- QuadraticBezierSegment.cs
- WebPartEditVerb.cs
- ErrorFormatterPage.cs
- CultureInfoConverter.cs
- SqlBooleanMismatchVisitor.cs
- DataTransferEventArgs.cs
- VolatileResourceManager.cs
- SubpageParaClient.cs
- WizardStepBase.cs
- InheritanceContextHelper.cs
- DecimalStorage.cs
- MiniCustomAttributeInfo.cs
- UriExt.cs
- XmlEventCache.cs
- XPathSelectionIterator.cs
- DragAssistanceManager.cs
- DataGridViewToolTip.cs
- HwndKeyboardInputProvider.cs
- DnsPermission.cs
- HitTestDrawingContextWalker.cs
- EnumerableRowCollection.cs
- XmlSchemaAttributeGroupRef.cs
- AssemblyNameProxy.cs
- ScriptingRoleServiceSection.cs
- DrawingContextDrawingContextWalker.cs
- ListBindingConverter.cs
- EntityContainerEntitySet.cs
- IndexerNameAttribute.cs
- DesignTimeTemplateParser.cs
- Literal.cs
- XamlRtfConverter.cs
- XhtmlCssHandler.cs
- EntityStoreSchemaFilterEntry.cs
- HttpContext.cs
- CompleteWizardStep.cs
- SqlBooleanMismatchVisitor.cs
- EditorAttribute.cs
- PointHitTestResult.cs
- GridViewColumnHeader.cs
- NotConverter.cs
- HttpApplicationStateWrapper.cs
- SqlGatherConsumedAliases.cs
- OleDbReferenceCollection.cs
- MetafileHeaderEmf.cs
- TypeSystemProvider.cs
- NameValueFileSectionHandler.cs
- HttpStreamXmlDictionaryReader.cs
- DoubleKeyFrameCollection.cs
- TransformCollection.cs
- CodeCatchClauseCollection.cs
- Win32PrintDialog.cs
- GlobalizationSection.cs
- ViewSimplifier.cs
- DefaultTraceListener.cs
- FixedSOMElement.cs
- WebPartZone.cs
- ZipIOModeEnforcingStream.cs
- HostedNamedPipeTransportManager.cs
- BreakRecordTable.cs
- LocatorPart.cs
- MenuAutoFormat.cs
- AccessControlList.cs
- LoginUtil.cs
- StringUtil.cs
- EditBehavior.cs
- DispatchChannelSink.cs
- UserControlBuildProvider.cs
- InputLanguageSource.cs
- BinaryUtilClasses.cs
- WebPartChrome.cs
- KeyValueSerializer.cs
- CodeObject.cs
- brushes.cs
- Track.cs
- Enlistment.cs
- RepeaterItem.cs
- BamlLocalizationDictionary.cs
- FacetChecker.cs
- UriTemplateTrieNode.cs
- Rijndael.cs
- SID.cs
- WebBrowserNavigatingEventHandler.cs
- PriorityQueue.cs
- NullableDecimalMinMaxAggregationOperator.cs
- LinqDataSourceDisposeEventArgs.cs
- RemotingException.cs