ContextMenuService.SetPlacement(DependencyObject, PlacementMode) Metodo

Definizione

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

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)

Parametri

element
DependencyObject

Oggetto sul quale impostare il valore.

value
PlacementMode

Valore da impostare.

Si applica a