Sdílet prostřednictvím


ContextMenuService.SetPlacement(DependencyObject, PlacementMode) Metoda

Definice

Nastaví hodnotu Placement vlastnosti zadaného objektu.

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

Parametry

element
DependencyObject

Objekt, na který se má hodnota nastavit.

value
PlacementMode

Hodnota, která se má nastavit.

Platí pro