ContextMenuService.GetHasDropShadow(DependencyObject) Método

Definición

Obtiene un valor que indica si ContextMenu tiene un efecto de sombra.

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

Parámetros

element
DependencyObject

Objeto que se va a consultar sobre si tiene un efecto de sombra.

Devoluciones

Boolean

Valor booleano, true si ContextMenu tiene una sombra paralela; false, en caso contrario.

Atributos

Se aplica a