AdornerPanel.SetPlacements Method

Note: This API is now obsolete. Sets the value of the Placements attached property for the provided element.

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

Syntax

'Declaration
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
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

adorner is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

AdornerPanel Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Adorner Architecture

Feature Providers and Feature Connectors