ContextMenuService.GetHasDropShadow(DependencyObject) Метод

Определение

Получает значение, показывающее, имеет ли объект ContextMenu тень.

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

Параметры

element
DependencyObject

Объект для запроса о наличии тени.

Возвращаемое значение

Логическое значение; true, если ContextMenu имеет тень; в противном случае — false.

Атрибуты

Применяется к