StylusPlugIn.IsActiveForInput Eigenschaft

Definition

Ruft ab, ob die StylusPlugIn Eingabe akzeptiert werden kann.

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

Eigenschaftswert

true wenn die StylusPlugIn Eingabe akzeptiert werden kann; andernfalls false.

Beispiele

Im folgenden Beispiel wird das Überschreiben der OnIsActiveForInputChanged Methode veranschaulicht.

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 erfüllt sein, damit die StylusPlugIn Eingabe akzeptiert werden kann:

Gilt für: