StylusPlugIn.IsActiveForInput Eigenschaft

Definition

Ruft ab, ob das StylusPlugIn Eingaben akzeptieren kann.

public:
 property bool IsActiveForInput { bool get(); };
public bool IsActiveForInput { get; }
member this.IsActiveForInput : bool
Public ReadOnly Property IsActiveForInput As Boolean

Eigenschaftswert

Boolean

true, wenn das StylusPlugIn Eingaben akzeptieren kann, andernfalls false.

Beispiele

Im folgenden Beispiel wird veranschaulicht, wie sie die OnIsActiveForInputChanged Methode außer Kraft setzen.

protected override void OnIsActiveForInputChanged()
{
    base.OnIsActiveForInputChanged();

    if (!this.IsActiveForInput)
    {
        // Clean up any resources the plug-in uses.
    }
    else
    {
        // Allocate the resources the plug-in uses.
    }
}
Protected Overrides Sub OnIsActiveForInputChanged()

    MyBase.OnIsActiveForInputChanged()

    If Not Me.IsActiveForInput Then
        ' Clean up any resources the plug-in uses.
    Else
        ' Allocate the resources the plug-in uses.
    End If

End Sub

Hinweise

Die folgenden Bedingungen müssen für die Annahme der StylusPlugIn Eingabe erfüllt sein:

Gilt für