更新 : 2007 年 11 月
装飾のサイズを指定するために使用される、サイズ決定条件の列挙体を返します。
名前空間 : Microsoft.Windows.Design.Interaction
アセンブリ : Microsoft.Windows.Design.Interaction (Microsoft.Windows.Design.Interaction.dll 内)
構文
'宣言
Function GetSizeTerms ( _
space As AdornerCoordinateSpace, _
adorner As UIElement, _
view As DependencyObject, _
zoom As Vector, _
viewFinalSize As Size _
) As IEnumerable(Of AdornerPlacementValue)
'使用
Dim instance As IAdornerPlacement
Dim space As AdornerCoordinateSpace
Dim adorner As UIElement
Dim view As DependencyObject
Dim zoom As Vector
Dim viewFinalSize As Size
Dim returnValue As IEnumerable(Of AdornerPlacementValue)
returnValue = instance.GetSizeTerms(space, _
adorner, view, zoom, viewFinalSize)
IEnumerable<AdornerPlacementValue> GetSizeTerms(
AdornerCoordinateSpace space,
UIElement adorner,
DependencyObject view,
Vector zoom,
Size viewFinalSize
)
IEnumerable<AdornerPlacementValue>^ GetSizeTerms(
AdornerCoordinateSpace^ space,
UIElement^ adorner,
DependencyObject^ view,
Vector zoom,
Size viewFinalSize
)
function GetSizeTerms(
space : AdornerCoordinateSpace,
adorner : UIElement,
view : DependencyObject,
zoom : Vector,
viewFinalSize : Size
) : IEnumerable<AdornerPlacementValue>
パラメータ
space
型 : Microsoft.Windows.Design.Interaction.AdornerCoordinateSpace所有元の装飾パネルの座標空間。
adorner
型 : System.Windows.UIElementサイズ決定条件を取得する装飾。
view
型 : System.Windows.DependencyObject装飾されるビュー。
zoom
型 : System.Windows.Vectorデザイナのズームを示すベクタ。
viewFinalSize
型 : System.Windows.Size配置後のビューの最終サイズ。
戻り値
型 : System.Collections.Generic.IEnumerable<AdornerPlacementValue>
サイズ決定条件の列挙体。サイズ決定条件が使用されない場合は、空の列挙体を返します。
例外
例外 | 条件 |
---|---|
ArgumentNullException | space、adorner、または view が nullnull 参照 (Visual Basic では Nothing) です。 |
アクセス許可
- 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。
参照
参照
Microsoft.Windows.Design.Interaction 名前空間