StylusPointCollection Constructor (StylusPointDescription^)
.NET Framework (current version)
Initializes a new instance of the StylusPointCollection class that contains the properties specified in the StylusPointDescription.
Assembly: PresentationCore (in PresentationCore.dll)
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.
.NET Framework
Available since 3.0
Available since 3.0
Show: