InputEnabledEventArgs InputEnabledEventArgs InputEnabledEventArgs Class

Contains the window input state returned by the InputEnabled event.

Syntax

Declaration

public sealed class InputEnabledEventArgspublic sealed class InputEnabledEventArgsPublic NotInheritable Class InputEnabledEventArgs

Remarks

This object is returned by a delegate registered for the InputEnabled event.

Note

: This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX).

Properties summary

Gets or sets whether the input enable event was handled.

Gets whether the window is enabled for input.

Properties

  • Handled
    Handled
    Handled
    Handled

    Gets or sets whether the input enable event was handled.

    public bool Handled { get; set; }public bool Handled { get; set; }Public ReadWrite Property Handled As boolpublic bool Handled { get; set; }

    Property Value

    • bool
      bool
      bool

      True if the input enable event was handled by the appropriate delegate; false if it was not.

  • InputEnabled
    InputEnabled
    InputEnabled
    InputEnabled

    Gets whether the window is enabled for input.

    public bool InputEnabled { get; }public bool InputEnabled { get; }Public ReadOnly Property InputEnabled As boolpublic bool InputEnabled { get; }

    Property Value

    • bool
      bool
      bool

      True if the window is enabled for input; false if it is not.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Core.dll