Condividi tramite


ContextMenuService.GetPlacement(DependencyObject) Metodo

Definizione

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

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

Parametri

element
DependencyObject

Oggetto su cui eseguire query riguardo alla proprietà Placement.

Restituisce

PlacementMode

Valore della proprietà Placement.

Attributi

Si applica a