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: