ContextMenuService.GetHasDropShadow(DependencyObject) Método

Definição

Obtém um valor que indica se o ContextMenu tem uma 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 a ser consultado referente à existência de uma sombra.

Retornos

Boolean

Um valor booliano, true se o ContextMenu tiver uma sombra, false caso contrário.

Atributos

Aplica-se a