แก้ไข

แชร์ผ่าน


StylusPointProperty Constructors

Definition

Initializes a new instance of the StylusPointProperty class.

Overloads

StylusPointProperty(StylusPointProperty)

Initializes a new instance of the StylusPointProperty class, copying the specified StylusPointProperty.

StylusPointProperty(Guid, Boolean)

Initializes a new instance of the StylusPointProperty class using the specified GUID.

StylusPointProperty(StylusPointProperty)

Initializes a new instance of the StylusPointProperty class, copying the specified StylusPointProperty.

protected:
 StylusPointProperty(System::Windows::Input::StylusPointProperty ^ stylusPointProperty);
protected StylusPointProperty (System.Windows.Input.StylusPointProperty stylusPointProperty);
new System.Windows.Input.StylusPointProperty : System.Windows.Input.StylusPointProperty -> System.Windows.Input.StylusPointProperty
Protected Sub New (stylusPointProperty As StylusPointProperty)

Parameters

stylusPointProperty
StylusPointProperty

The StylusPointProperty to copy.

Applies to

StylusPointProperty(Guid, Boolean)

Initializes a new instance of the StylusPointProperty class using the specified GUID.

public:
 StylusPointProperty(Guid identifier, bool isButton);
public StylusPointProperty (Guid identifier, bool isButton);
new System.Windows.Input.StylusPointProperty : Guid * bool -> System.Windows.Input.StylusPointProperty
Public Sub New (identifier As Guid, isButton As Boolean)

Parameters

identifier
Guid

The Guid that uniquely identifies the StylusPointProperty.

isButton
Boolean

true to indicate that the property represents a button on the stylus; otherwise, false.

Examples

The following example demonstrates how to create a new StylusPointProperty.

Guid guid = new Guid("12345678-1234-1234-1234-123456789012");
StylusPointProperty newlyDefinedProperty = new StylusPointProperty(guid, false);
Dim guid As New Guid("12345678-1234-1234-1234-123456789012")
Dim newlyDefinedProperty As New StylusPointProperty(guid, False)

Applies to