ContextMenuService.GetHasDropShadow(DependencyObject) Metodo

Definizione

Ottiene un valore che indica se la proprietà ContextMenu ha un'ombreggiatura.

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

Parametri

element
DependencyObject

Oggetto in cui eseguire una query sull'eventuale presenza di un'ombreggiatura.

Restituisce

Valore booleano, true se ContextMenu ha un'ombreggiatura; in caso contrario, false.

Attributi

Si applica a