Método AdornerPanel.SetPlacements

Note: Essa API é agora obsoleta. Define o valor de Placements anexado a propriedade elemento fornecido.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (em Microsoft.Windows.Design.Interaction.dll)

Sintaxe

'Declaração
Public Shared Sub SetPlacements ( _
    adorner As UIElement, _
    value As AdornerPlacementCollection _
)
public static void SetPlacements(
    UIElement adorner,
    AdornerPlacementCollection value
)
public:
static void SetPlacements(
    UIElement^ adorner, 
    AdornerPlacementCollection^ value
)
static member SetPlacements : 
        adorner:UIElement * 
        value:AdornerPlacementCollection -> unit 
public static function SetPlacements(
    adorner : UIElement, 
    value : AdornerPlacementCollection
)

Parâmetros

Exceções

Exceção Condição
ArgumentNullException

adorner is nulluma referência nula (Nothing no Visual Basic).

Segurança do .NET Framework

Consulte também

Referência

AdornerPanel Classe

Namespace Microsoft.Windows.Design.Interaction

Outros recursos

Adorner de arquitetura

Recurso provedores e conectores de recursos