Compartilhar via


ContextMenuService.SetPlacement(DependencyObject, PlacementMode) Método

Definição

Define o valor da propriedade Placement do 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

O objeto no qual o valor deve ser definido.

value
PlacementMode

Valor a ser definido.

Aplica-se a