CoreWindowEventArgs CoreWindowEventArgs CoreWindowEventArgs Class

Contains the set of arguments returned to an app after a window input or behavior event.

Syntax

Declaration

public sealed class CoreWindowEventArgspublic sealed class CoreWindowEventArgsPublic NotInheritable Class CoreWindowEventArgs

Remarks

This object is passed to the app in the corresponding event delegate. The app can use this to set the Handled property, which, when true, informs the framework to perform default processing of the 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

Specifies the property that gets or sets whether the event was handled.

Properties

  • Handled
    Handled
    Handled
    Handled

    Specifies the property that gets or sets whether the 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 event has been handled by the appropriate delegate; false if it has 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