PressedEventArgs

Defines the pointer event args.

Class · Namespace LiveChartsCore.Native.Events · Assembly LiveChartsCore.SkiaSharpView.Uno.WinUI · View source

Inheritance

Object EventArgs ScreenEventArgs PressedEventArgs

Members

Properties

IsSecondaryPress Boolean
Gets a value indicating whether the action is a secondary press.
IsSyntheticRelease Boolean
Gets a value indicating whether this release was synthesized by the chart rather than produced by a real user gesture (e.g. raised on pointer capture loss so internal pan/drag state can be released). Consumers of public release hooks such as PointerReleasedCommand should skip synthetic releases.
Location LvcPoint
Gets the pointer location.
OriginalEvent Object
Gets the original event.

Constructors

PressedEventArgs 3 parameters

Defines the pointer event args.

LvcPoint location The pointer location.

Boolean isSecondaryPress Indicates whether the action is secondary.

Object originalEvent The original event.

PressedEventArgs 4 parameters

Initializes a new instance of the PressedEventArgs class with an explicit flag.

LvcPoint location The pointer location.

Boolean isSecondaryPress Indicates whether the action is secondary.

Boolean isSyntheticRelease True when the release is not produced by a real user gesture but synthesized by the chart (e.g. when an ancestor steals pointer capture mid-drag and the chart needs to release its internal pan/drag state). Public release commands (PointerReleasedCommand) should ignore synthetic releases since the user has not actually lifted the pointer.

Object originalEvent The original event.