ContextMenuService.GetPlacement(DependencyObject) Metoda

Definice

Získá hodnotu Placement vlastnosti zadaného objektu.

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

Parametry

element
DependencyObject

Objekt pro dotaz týkající se Placement vlastnosti.

Návraty

PlacementMode

Placement Hodnota vlastnosti.

Atributy

Platí pro