ContextMenuService.SetPlacementTarget(DependencyObject, UIElement) Metoda

Definicja

Ustawia wartość PlacementTarget właściwości określonego obiektu.

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)

Parametry

element
DependencyObject

Obiekt, na który ma być ustawiona wartość.

value
UIElement

Wartość do ustawienia.

Dotyczy