Share via


AdornerPanel.GetPlacements Method

Note: This API is now obsolete. Gets the value of the Placements attached property for the specified DependencyObject.

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

Syntax

'Declaration
Public Shared Function GetPlacements ( _
    adorner As UIElement _
) As AdornerPlacementCollection
public static AdornerPlacementCollection GetPlacements(
    UIElement adorner
)
public:
static AdornerPlacementCollection^ GetPlacements(
    UIElement^ adorner
)
static member GetPlacements : 
        adorner:UIElement -> AdornerPlacementCollection 
public static function GetPlacements(
    adorner : UIElement
) : AdornerPlacementCollection

Parameters

Return Value

Type: Microsoft.Windows.Design.Interaction.AdornerPlacementCollection
An AdornerPlacementCollection which holds AdornerPlacementValue objects representing adorner's size and position.

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