Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

StylusPointCollection::Add Method (StylusPointCollection^)

 

Adds the specified StylusPointCollection to the current StylusPointCollection.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public:
void Add(
	StylusPointCollection^ stylusPoints
)

Parameters

stylusPoints
Type: System.Windows.Input::StylusPointCollection^

The StylusPointCollection to add to the current StylusPointCollection.

Exception Condition
ArgumentNullException

stylusPoints is null.

ArgumentException

The StylusPointDescription of stylusPoints is not compatible with the Description property.

The following example collects StylusPoint objects in the OnStylusDown method of a custom control.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2017 Microsoft