Share via


StylusPointProperty Oluşturucular

Tanım

StylusPointProperty sınıfının yeni bir örneğini başlatır.

Aşırı Yüklemeler

StylusPointProperty(StylusPointProperty)

Belirtilen StylusPointPropertyöğesini kopyalayarak sınıfının yeni bir örneğini StylusPointProperty başlatır.

StylusPointProperty(Guid, Boolean)

Belirtilen GUID'yi kullanarak sınıfının yeni bir örneğini StylusPointProperty başlatır.

StylusPointProperty(StylusPointProperty)

Belirtilen StylusPointPropertyöğesini kopyalayarak sınıfının yeni bir örneğini StylusPointProperty başlatır.

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)

Parametreler

stylusPointProperty
StylusPointProperty

Kopyalanacak StylusPointProperty .

Şunlara uygulanır

StylusPointProperty(Guid, Boolean)

Belirtilen GUID'yi kullanarak sınıfının yeni bir örneğini StylusPointProperty başlatır.

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)

Parametreler

identifier
Guid

öğesini Guid benzersiz olarak tanımlayan StylusPointProperty.

isButton
Boolean

true özelliğinin ekran kalemindeki bir düğmeyi temsil ettiğini belirtmek için; aksi takdirde , false.

Örnekler

Aşağıdaki örnekte yeni StylusPointPropertybir öğesinin nasıl oluşturulacağı gösterilmektedir.

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)

Şunlara uygulanır