InputNonClientPointerSource Class

Definition

Processes pointer input in the non-client area of a window.

public ref class InputNonClientPointerSource sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65540)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class InputNonClientPointerSource final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65540)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class InputNonClientPointerSource
Public NotInheritable Class InputNonClientPointerSource
Inheritance
Object Platform::Object IInspectable InputNonClientPointerSource
Attributes

Remarks

The non-client area of a window includes elements such as the title bar, menu bar, or window frame.

Properties

DispatcherQueue

Gets the dispatcher queue associated with the InputNonClientPointerSource object.

Methods

ClearAllRegionRects()

Deletes all region types within the non-client area of a window from the InputNonClientPointerSource.

ClearRegionRects(NonClientRegionKind)

Deletes each region of the specified type within the non-client area of a window from the InputNonClientPointerSource.

GetForWindowId(WindowId)

Retrieves an InputNonClientPointerSource object for the specified window.

GetRegionRects(NonClientRegionKind)

Gets the partition boundaries for each region of the specified type within the non-client area of a window.

SetRegionRects(NonClientRegionKind, RectInt32[])

Sets the partition boundaries of each region in the non-client area of a window.

Events

CaptionTapped

Occurs when the window caption reports a tap action by the pointer.

PointerEntered

Occurs when the pointer enters a region of the non-client area of the window..

PointerExited

Occurs when the pointer exits a region of the non-client area of the window..

PointerMoved

Occurs when the pointer is moved while within a region of the non-client area of the window.

PointerPressed

Occurs when a press action (such as a touch press or mouse click) within a region of the non-client area of the window is received for the pointer.

PointerReleased

Occurs when the pointer device associated with a prior InputNonClientPointerSource.PointerPressed action is released while within a region of the non-client area of the window.

RegionsChanged

Occurs on a change to the partition boundaries of a region in the non-client area of a window.

Applies to