Editar

Compartir vía


ContextMenuService.GetHasDropShadow(DependencyObject) Method

Definition

Gets a value that indicates whether the ContextMenu has a drop shadow.

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

Parameters

element
DependencyObject

Object to query concerning whether it has a drop shadow.

Returns

A Boolean value, true if the ContextMenu has a drop shadow; false otherwise.

Attributes

Applies to