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
- space
Type: Microsoft.Windows.Design.Interaction.AdornerCoordinateSpace
The coordinate space of the owning adorner panel.
- adorner
Type: System.Windows.UIElement
The adorner to get size terms for.
- view
Type: Microsoft.Windows.Design.Interaction.ViewItem
The view being adorned by the adorner.
- zoom
Type: System.Windows.Vector
A vector that indicates the zoom for the designer.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.