Aracılığıyla paylaş


ContextMenuService.SetPlacement(DependencyObject, PlacementMode) Yöntem

Tanım

Belirtilen nesnenin Placement özelliğinin değerini ayarlar.

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)

Parametreler

element
DependencyObject

Değerin ayarlanacağı nesne.

value
PlacementMode

Ayarlanacağı değer.

Şunlara uygulanır