Table of Contents

Struct GestureRoute<TRegion>

Namespace
SharpConsoleUI.Helpers
Assembly
SharpConsoleUI.dll

The routing result of a mouse event through MouseGestureCapture<TRegion>: the gesture phase and the region the event is routed to.

public readonly record struct GestureRoute<TRegion> : IEquatable<GestureRoute<TRegion>> where TRegion : struct, Enum

Type Parameters

TRegion

The control's sub-region enum.

Implements
Inherited Members
Extension Methods

Constructors

GestureRoute(GesturePhase, TRegion)

The routing result of a mouse event through MouseGestureCapture<TRegion>: the gesture phase and the region the event is routed to.

public GestureRoute(GesturePhase Phase, TRegion Region)

Parameters

Phase GesturePhase

The gesture phase.

Region TRegion

The region the event is routed to (the captured region during a gesture).

Properties

Phase

The gesture phase.

public GesturePhase Phase { get; init; }

Property Value

GesturePhase

Region

The region the event is routed to (the captured region during a gesture).

public TRegion Region { get; init; }

Property Value

TRegion