次の方法で共有


IAdornerPlacement.GetPositionTerms メソッド

装飾の位置を決定する配置条件の列挙体を返します。

名前空間:  Microsoft.Windows.Design.Interaction
アセンブリ:  Microsoft.Windows.Design.Interaction (Microsoft.Windows.Design.Interaction.dll 内)

構文

'宣言
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>

パラメーター

戻り値

型: System.Collections.Generic.IEnumerable<AdornerPlacementValue>
位置決定条件の列挙体。配置条件が使用されなかった場合は、空の列挙体を返します。

例外

例外 条件
ArgumentNullException

adorner または view が nullnull 参照 (Visual Basic では Nothing) です。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

IAdornerPlacement インターフェイス

Microsoft.Windows.Design.Interaction 名前空間