ContextMenuService.GetContextMenu(DependencyObject) Método

Definición

Obtiene el valor de la propiedad ContextMenu del objeto especificado.

public:
 static System::Windows::Controls::ContextMenu ^ GetContextMenu(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static System.Windows.Controls.ContextMenu GetContextMenu (System.Windows.DependencyObject element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetContextMenu : System.Windows.DependencyObject -> System.Windows.Controls.ContextMenu
Public Shared Function GetContextMenu (element As DependencyObject) As ContextMenu

Parámetros

element
DependencyObject

Objeto que se va a consultar sobre la propiedad ContextMenu.

Devoluciones

ContextMenu

Valor de la propiedad ContextMenu.

Atributos

Se aplica a