StylusPlugIn.IsActiveForInput Propriété

Définition

Obtient l'information indiquant si le StylusPlugIn est en mesure d'accepter l'entrée.

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

Valeur de propriété

Boolean

true si le StylusPlugIn est en mesure d'accepter l'entrée ; sinon, false.

Exemples

L’exemple suivant montre comment remplacer la OnIsActiveForInputChanged méthode.

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

Remarques

Les conditions suivantes doivent être remplies pour accepter l’entrée StylusPlugIn :

S’applique à