Condividi tramite


ContextMenuService.SetPlacementTarget(DependencyObject, UIElement) Metodo

Definizione

Imposta il valore della proprietà PlacementTarget dell'oggetto specificato.

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

Parametri

element
DependencyObject

Oggetto per il quale impostare il valore.

value
UIElement

Valore da impostare.

Si applica a