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 Constructor (StylusPointDescription^)

 

Initializes a new instance of the StylusPointCollection class that contains the properties specified in the StylusPointDescription.

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

public:
StylusPointCollection(
	StylusPointDescription^ stylusPointDescription
)

Parameters

stylusPointDescription
Type: System.Windows.Input::StylusPointDescription^

A StylusPointDescription that specifies the additional properties stored in each StylusPoint.

Exception Condition
ArgumentNullException

stylusPointDescription is null.

All StylusPoint objects added to the StylusPointCollection must have a StylusPointDescription that is compatible with stylusPointDescription.

The following example collects StylusPoint objects in the OnStylusDown method of a custom control. The example creates a StylusPointCollection by specifying the StylusPointDescription and the initial size of the StylusPointCollection.

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

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft