StylusPlugIn.IsActiveForInput Egenskap

Definition

Hämtar om kan StylusPlugIn acceptera indata.

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

Egenskapsvärde

true StylusPlugIn om kan acceptera indata, annars false.

Exempel

I följande exempel visas hur du åsidosätter OnIsActiveForInputChanged metoden.

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

Kommentarer

Följande villkor måste uppfyllas för StylusPlugIn att acceptera indata:

Gäller för