Compartir a través de


ContextMenuService.GetPlacement(DependencyObject) Método

Definición

Obtiene el valor de la propiedad Placement del objeto especificado.

public:
 static System::Windows::Controls::Primitives::PlacementMode GetPlacement(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static System.Windows.Controls.Primitives.PlacementMode GetPlacement (System.Windows.DependencyObject element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetPlacement : System.Windows.DependencyObject -> System.Windows.Controls.Primitives.PlacementMode
Public Shared Function GetPlacement (element As DependencyObject) As PlacementMode

Parámetros

element
DependencyObject

Objeto que se va a consultar sobre la propiedad Placement.

Devoluciones

PlacementMode

Valor de la propiedad Placement.

Atributos

Se aplica a