StylusPlugIn.IsActiveForInput Proprietà

Definizione

Ottiene un valore che indica se l'oggetto è in grado di accettare l'input StylusPlugIn .

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

Valore della proprietà

true se è in grado di accettare l'input StylusPlugIn ; in caso contrario false, .

Esempio

Nell'esempio seguente viene illustrato come eseguire l'override del OnIsActiveForInputChanged metodo .

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

Commenti

Per accettare l'input StylusPlugIn , è necessario soddisfare le condizioni seguenti:

Si applica a