Share via


IAdornerPlacement.GetPositionTerms Method

Returns an enumeration of positioning terms that is used to position an adorner.

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

Syntax

'Declaration
Function GetPositionTerms ( _
    space As AdornerCoordinateSpace, _
    adorner As UIElement, _
    view As ViewItem, _
    zoom As Vector, _
    computedAdornerSize As Size _
) As IEnumerable(Of AdornerPlacementValue)
IEnumerable<AdornerPlacementValue> GetPositionTerms(
    AdornerCoordinateSpace space,
    UIElement adorner,
    ViewItem view,
    Vector zoom,
    Size computedAdornerSize
)
IEnumerable<AdornerPlacementValue>^ GetPositionTerms(
    AdornerCoordinateSpace^ space, 
    UIElement^ adorner, 
    ViewItem^ view, 
    Vector zoom, 
    Size computedAdornerSize
)
abstract GetPositionTerms : 
        space:AdornerCoordinateSpace * 
        adorner:UIElement * 
        view:ViewItem * 
        zoom:Vector * 
        computedAdornerSize:Size -> IEnumerable<AdornerPlacementValue> 
function GetPositionTerms(
    space : AdornerCoordinateSpace, 
    adorner : UIElement, 
    view : ViewItem, 
    zoom : Vector, 
    computedAdornerSize : Size
) : IEnumerable<AdornerPlacementValue>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<AdornerPlacementValue>
An enumeration of positioning terms. If no positioning terms are used, returns an empty enumeration.

Exceptions

Exception Condition
ArgumentNullException

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

.NET Framework Security

See Also

Reference

IAdornerPlacement Interface

Microsoft.Windows.Design.Interaction Namespace