CharacterReceivedEventArgs Class

Provides the arguments returned by the event raised when a character is received by the input queue.

Syntax

public ref class CharacterReceivedEventArgs sealed : ICoreWindowEventArgs  

Remarks

This object is returned by a delegate registered for the following event:

Example

C++

// returning character received events data through CharacterReceivedEventArgs

void MyCoreWindowEvents::SetWindow( // implementation called by CoreApplication::Run(), provided for context
    _In_ CoreWindow^ window
    )
{
   
    // ...
    window->CharacterReceived +=
        ref new TypedEventHandler<CoreWindow^, CharacterReceivedEventArgs^>(this, &CoreWindowEvents::OnCharacterReceived);

    // ...
   
}  

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).

Requirements

Namespace: Windows.UI.Core

Metadata: windows.winmd

See also

Reference

CharacterReceivedEventArgs Members

Windows.UI.Core Namespace