Context​Menu​Event​Args Context​Menu​Event​Args Context​Menu​Event​Args Context​Menu​Event​Args Class

Definition

Provides event data for the ContextMenuOpening event that exists on several text-related UI elements.

public : sealed class ContextMenuEventArgs : RoutedEventArgs, IContextMenuEventArgspublic sealed class ContextMenuEventArgs : RoutedEventArgs, IContextMenuEventArgsPublic NotInheritable Class ContextMenuEventArgs Inherits RoutedEventArgs Implements IContextMenuEventArgs// This API is not available in Javascript.
Inheritance
ContextMenuEventArgsContextMenuEventArgsContextMenuEventArgsContextMenuEventArgs
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited properties

Properties

CursorLeft CursorLeft CursorLeft CursorLeft

Gets the pixel offset of the text cursor horizontal position.

public : double CursorLeft { get; }public double CursorLeft { get; }Public ReadOnly Property CursorLeft As double// This API is not available in Javascript.
Value
double double double double

A value in pixels.

CursorTop CursorTop CursorTop CursorTop

Gets the pixel offset of the text cursor vertical position.

public : double CursorTop { get; }public double CursorTop { get; }Public ReadOnly Property CursorTop As double// This API is not available in Javascript.
Value
double double double double

A value in pixels.

Handled Handled Handled Handled

Gets or sets a value that marks the routed event as handled. A true value for Handled prevents most handlers along the event route from handling the same event again.

public : PlatForm::Boolean Handled { get; set; }public bool Handled { get; set; }Public ReadWrite Property Handled As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

True to mark the routed event handled. False to leave the routed event unhandled, which permits the event to potentially route further and be acted on by other handlers. The default is false.

See Also