StylusPlugIn.IsActiveForInput Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets whether the StylusPlugIn is able to accept input.
public:
property bool IsActiveForInput { bool get(); };
public bool IsActiveForInput { get; }
member this.IsActiveForInput : bool
Public ReadOnly Property IsActiveForInput As Boolean
Property Value
true
if the StylusPlugIn is able to accept input; otherwise false
.
Examples
The following example demonstrates how to override the OnIsActiveForInputChanged method.
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
Remarks
The following conditions must be met for the StylusPlugIn to accept input:
The StylusPlugIn is a member of a StylusPlugInCollection.
The Element of the StylusPlugIn is visible and enabled.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示