ContextMenuEventArgs ContextMenuEventArgs ContextMenuEventArgs ContextMenuEventArgs Class

Definición

Proporciona datos para el evento de menú contextual.Provides data for the context menu event.

public ref class ContextMenuEventArgs sealed : System::Windows::RoutedEventArgs
public sealed class ContextMenuEventArgs : System.Windows.RoutedEventArgs
type ContextMenuEventArgs = class
    inherit RoutedEventArgs
Public NotInheritable Class ContextMenuEventArgs
Inherits RoutedEventArgs
Herencia
ContextMenuEventArgsContextMenuEventArgsContextMenuEventArgsContextMenuEventArgs

Propiedades

CursorLeft CursorLeft CursorLeft CursorLeft

Obtiene la posición horizontal del mouse.Gets the horizontal position of the mouse.

CursorTop CursorTop CursorTop CursorTop

Obtiene la posición vertical del mouse.Gets the vertical position of the mouse.

Handled Handled Handled Handled

Obtiene o establece un valor que indica el estado actual del control de eventos para un evento enrutado cuando recorre la ruta.Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route.

(Inherited from RoutedEventArgs)
OriginalSource OriginalSource OriginalSource OriginalSource

Obtiene el origen inicial de los informes determinado por pruebas de acceso puro, antes de que una clase primaria realice posibles ajustes de Source.Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class.

(Inherited from RoutedEventArgs)
RoutedEvent RoutedEvent RoutedEvent RoutedEvent

Obtiene o establece el RoutedEvent asociado a esta instancia RoutedEventArgs.Gets or sets the RoutedEvent associated with this RoutedEventArgs instance.

(Inherited from RoutedEventArgs)
Source Source Source Source

Obtiene o establece una referencia al objeto que generó el evento.Gets or sets a reference to the object that raised the event.

(Inherited from RoutedEventArgs)

Métodos

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determina si el objeto especificado es igual al objeto actual.Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Sirve como la función hash predeterminada.Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Obtiene el Type de la instancia actual.Gets the Type of the current instance.

(Inherited from Object)
InvokeEventHandler(Delegate, Object) InvokeEventHandler(Delegate, Object) InvokeEventHandler(Delegate, Object) InvokeEventHandler(Delegate, Object)

Cuando se invalida en una clase derivada, proporciona una manera de invocar controladores de eventos de una forma específica del tipo, lo que puede aumentar la eficacia en la implementación base.When overridden in a derived class, provides a way to invoke event handlers in a type-specific way, which can increase efficiency over the base implementation.

(Inherited from RoutedEventArgs)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Crea una copia superficial del Object actual.Creates a shallow copy of the current Object.

(Inherited from Object)
OnSetSource(Object) OnSetSource(Object) OnSetSource(Object) OnSetSource(Object)

Cuando se invalida en una clase derivada, proporciona una entrada de devolución de llamada de notificación cada vez que seleccione el valor de la Source propiedad de los cambios de la instancia.When overridden in a derived class, provides a notification callback entry point whenever the value of the Source property of an instance changes.

(Inherited from RoutedEventArgs)
ToString() ToString() ToString() ToString()

Devuelve una cadena que representa el objeto actual.Returns a string that represents the current object.

(Inherited from Object)

Se aplica a

Consulte también: