ICoreWindow Members

ICoreWindow has the following members.

Public Properties

  Name Description
Bounds Specifies the property that gets the bounding rectangle of the window.
Dispatcher Specifies a property that gets the event dispatcher for the window.
IsInputEnabled Specifies a property that gets or sets whether input is enabled for the window.
Visible Specifies the property that gets whether the window is visible or not.

Public Methods

  Name Description
Activate Specifies a method that activates the window.
Close Specifies the method that closes the window and exits the message loop.
GetAsyncKeyState Specifies a method that returns the state of a virtual key asynchronously.
GetKeyState Specifies a method that gets the state of a key.

Public Events

  Name Description
Activated Specifies the event that is fired when the window completes activation or deactivation.
CharacterReceived Specifies the event that is fired when a new character is received by the input queue.
Closed Specifies the event that is fired when a window is closed (or the app terminates altogether).
InputEnabled Specifies an event that occurs when input is enabled or disabled for the window.
KeyDown Specifies the event that is fired when a non-system key is pressed down.
KeyUp Specifies the event that is fired when a non-system key is released after a press.
PointerEntered Specifies the event that occurs when a pointer moves into the bounding box of the window.
PointerExited Specifies the event that occurs when the pointer moves outside the bounding box of the window.
PointerMoved Specifies the event that occurs when a pointer moves within the bounding box of the window.
SizeChanged Specifies the event that raises when the window size is changed.
VisibilityChanged Specifies the event that occurs when the window visibility is changed.

See also

Reference

ICoreWindow Interface

Windows.UI.Core Namespace