StylusPlugIn.IsActiveForInput プロパティ

定義

StylusPlugInが入力を受け入れることができるかどうかを取得します。

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

プロパティ値

true StylusPlugInが入力を受け入れることができる場合は。それ以外の場合はfalse

次の例では、 OnIsActiveForInputChanged メソッドをオーバーライドする方法を示します。

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

注釈

StylusPlugInが入力を受け入れるには、次の条件を満たす必要があります。

適用対象