StylusPlugIn.IsActiveForInput Propriedade

Definição

Obtém se é StylusPlugIn capaz de aceitar entrada.

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

Valor de Propriedade

true se o StylusPlugIn for capaz de aceitar entrada; caso contrário false.

Exemplos

O exemplo seguinte demonstra como sobrepor o 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

Observações

As seguintes condições devem ser cumpridas para que aceite StylusPlugIn a entrada:

Aplica-se a