Langue

StylusPointProperty Constructeurs

Définition

Initialise une nouvelle instance de la classe StylusPointProperty.

Surcharges

Nom Description
StylusPointProperty(StylusPointProperty)

Initialise une nouvelle instance de la StylusPointProperty classe, en copiant le fichier spécifié StylusPointProperty.

StylusPointProperty(Guid, Boolean)

Initialise une nouvelle instance de la StylusPointProperty classe à l’aide du GUID spécifié.

StylusPointProperty(StylusPointProperty)

Initialise une nouvelle instance de la StylusPointProperty classe, en copiant le fichier spécifié 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)

Paramètres

stylusPointProperty
StylusPointProperty

À StylusPointProperty copier.

S’applique à

StylusPointProperty(Guid, Boolean)

Initialise une nouvelle instance de la StylusPointProperty classe à l’aide du GUID spécifié.

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)

Paramètres

identifier
Guid

Qui Guid identifie de manière unique le StylusPointProperty.

isButton
Boolean

true pour indiquer que la propriété représente un bouton sur le stylet ; sinon, false.

Exemples

L’exemple suivant montre comment créer un nouveau 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)

S’applique à