PressedEventArgs
Class

Assembly LiveChartsCore.SkiaSharpView.Uno.WinUI
Namespace LiveChartsCore.Native.Events

Summary:
Defines the pointer event args.

Inheritance:
Object =>
EventArgs =>
ScreenEventArgs =>
PressedEventArgs

Constructors

// Defines the pointer event args.
LvcPoint location, // The pointer location.
Boolean isSecondaryPress, // Indicates whether the action is secondary.
Object originalEvent// The original event.
)
// 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.
)

Properties

Gets a value indicating whether the action is a secondary press.
Type: 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.
Type: Boolean
Gets the pointer location.
Type: LvcPoint
Gets the original event.
Type: Object