Export (0) Print
Expand All

StylusPlugIn.IsActiveForInput Property

Gets whether the StylusPlugIn is able to accept input.

Namespace:  System.Windows.Input.StylusPlugIns
Assembly:  PresentationCore (in PresentationCore.dll)

public bool IsActiveForInput { get; }

Property Value

Type: System.Boolean
true if the StylusPlugIn is able to accept input; otherwise false.

The following conditions must be met for the StylusPlugIn to accept input:

The following example demonstrates how to override the OnIsActiveForInputChanged method.

protected override void OnIsActiveForInputChanged()

    if (!this.IsActiveForInput)
        // Clean up any resources the plug-in uses.
        // Allocate the resources the plug-in uses.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft