ContextMenuEventArgs ContextMenuEventArgs ContextMenuEventArgs ContextMenuEventArgs Class

Definition

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

public : sealed class ContextMenuEventArgs : RoutedEventArgs, IContextMenuEventArgs
struct winrt::Windows::UI::Xaml::Controls::ContextMenuEventArgs : RoutedEventArgs, IContextMenuEventArgs
public sealed class ContextMenuEventArgs : RoutedEventArgs, IContextMenuEventArgs
Public NotInheritable Class ContextMenuEventArgs Inherits RoutedEventArgs Implements IContextMenuEventArgs
Inheritance
ContextMenuEventArgsContextMenuEventArgsContextMenuEventArgsContextMenuEventArgs
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

CursorLeft CursorLeft CursorLeft CursorLeft

Gets the pixel offset of the text cursor horizontal position.

CursorTop CursorTop CursorTop CursorTop

Gets the pixel offset of the text cursor vertical position.

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.

OriginalSource OriginalSource OriginalSource OriginalSource

Gets a reference to the object that raised the event. This is often a template part of a control rather than an element that was declared in your app UI.

(Inherited from RoutedEventArgs)

See Also