Partilhar via


ContextMenuService.SetPlacementRectangle(DependencyObject, Rect) Método

Definição

Define o valor da propriedade PlacementRectangle do objeto especificado.

public:
 static void SetPlacementRectangle(System::Windows::DependencyObject ^ element, System::Windows::Rect value);
public static void SetPlacementRectangle (System.Windows.DependencyObject element, System.Windows.Rect value);
static member SetPlacementRectangle : System.Windows.DependencyObject * System.Windows.Rect -> unit
Public Shared Sub SetPlacementRectangle (element As DependencyObject, value As Rect)

Parâmetros

element
DependencyObject

O objeto no qual o valor deve ser definido.

value
Rect

Valor a ser definido.

Aplica-se a