装飾の位置を決定する配置条件の列挙体を返します。
名前空間: 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>
パラメーター
- space
型: Microsoft.Windows.Design.Interaction.AdornerCoordinateSpace
所有元の装飾パネルの座標空間。
- adorner
型: System.Windows.UIElement
位置決定条件を取得する装飾。
- view
型: Microsoft.Windows.Design.Interaction.ViewItem
装飾されるビュー。
- zoom
型: System.Windows.Vector
デザイナーのズームを示すベクター。
- computedAdornerSize
型: System.Windows.Size
GetSizeTerms メソッドが返す条件が処理された後の装飾のサイズ。
戻り値
型: System.Collections.Generic.IEnumerable<AdornerPlacementValue>
位置決定条件の列挙体。配置条件が使用されなかった場合は、空の列挙体を返します。
例外
例外 | 条件 |
---|---|
ArgumentNullException | adorner または view が nullnull 参照 (Visual Basic では Nothing) です。 |
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。