StylusPlugIn.IsActiveForInput Propiedad

Definición

Obtiene si StylusPlugIn puede aceptar la entrada.

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

Valor de propiedad

Boolean

true si StylusPlugIn puede aceptar la entrada; de lo contrario false.

Ejemplos

En el ejemplo siguiente se muestra cómo invalidar el OnIsActiveForInputChanged método .

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

Comentarios

Se deben cumplir las condiciones siguientes para que acepte la StylusPlugIn entrada:

Se aplica a