ContextMenuService.SetHasDropShadow(DependencyObject, Boolean) Metodo

Definizione

Imposta un valore che indica se ha ContextMenu un'ombreggiatura.

public:
 static void SetHasDropShadow(System::Windows::DependencyObject ^ element, bool value);
public static void SetHasDropShadow(System.Windows.DependencyObject element, bool value);
static member SetHasDropShadow : System.Windows.DependencyObject * bool -> unit
Public Shared Sub SetHasDropShadow (element As DependencyObject, value As Boolean)

Parametri

element
DependencyObject

Oggetto su cui impostare la proprietà .

value
Boolean

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

Si applica a