Compartir a través de


ContextMenuService.SetPlacement(DependencyObject, PlacementMode) Método

Definición

Establece el valor de la propiedad Placement del objeto especificado.

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)

Parámetros

element
DependencyObject

Objeto en el que se va a establecer el valor.

value
PlacementMode

Valor que se va a establecer.

Se aplica a