InjectedInputVisualizationMode Enum

Definition

Specifies the type of visual feedback displayed for the injected input type.

public enum class InjectedInputVisualizationMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class InjectedInputVisualizationMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum InjectedInputVisualizationMode
var value = Windows.UI.Input.Preview.Injection.InjectedInputVisualizationMode.none
Public Enum InjectedInputVisualizationMode
Inheritance
InjectedInputVisualizationMode
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Fields

Name Value Description
None 0

Indicates no visual feedback for the injected input. Default.

Default 1

Indicates default system visual feedback for the type of injected input.

Indirect 2

Indicates indirect visual feedback for the type of injected input (pen and touch only, typically for projection to an external monitor).

Examples

Here are some downloadable samples demonstrating basic input and input injection:

Remarks

Important

The APIs in this namespace require the inputInjectionBrokered restricted capability.

Using input injection requires the following be added to the Package.appxmanifest:

  • To <Package>
    • xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
    • IgnorableNamespaces="rescap"
  • To <Capabilities>
    • <rescap:Capability Name="inputInjectionBrokered" />

Applies to

See also