Udostępnij za pośrednictwem


IAdornerPlacement.GetSizeTerms Method

Returns an enumeration of sizing terms that is used to size the adorner.

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

Syntax

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

Parameters

  • viewFinalSize
    Type: System.Windows.Size
    The final size of the view after it has been arranged.

Return Value

Type: System.Collections.Generic.IEnumerable<AdornerPlacementValue>
An enumeration of sizing terms. If no size terms are used, this method must return an empty enumeration.

.NET Framework Security

See Also

Reference

IAdornerPlacement Interface

Microsoft.Windows.Design.Interaction Namespace