指定したモデル アイテムに指定した位置のコレクションを割り当てます。
名前空間: Microsoft.Windows.Design.Interaction
アセンブリ: Microsoft.Windows.Design.Interaction (Microsoft.Windows.Design.Interaction.dll 内)
構文
'宣言
Public MustOverride Sub SetPlacements ( _
item As ModelItem, _
intent As PlacementIntent, _
placement As RelativeValueCollection _
)
public abstract void SetPlacements(
ModelItem item,
PlacementIntent intent,
RelativeValueCollection placement
)
public:
virtual void SetPlacements(
ModelItem^ item,
PlacementIntent intent,
RelativeValueCollection^ placement
) abstract
abstract SetPlacements :
item:ModelItem *
intent:PlacementIntent *
placement:RelativeValueCollection -> unit
public abstract function SetPlacements(
item : ModelItem,
intent : PlacementIntent,
placement : RelativeValueCollection
)
パラメーター
- item
型: Microsoft.Windows.Design.Model.ModelItem
配置対象の ModelItem。
- intent
型: Microsoft.Windows.Design.Interaction.PlacementIntent
この配置呼び出しの理由を指定する PlacementIntent。
- placement
型: Microsoft.Windows.Design.Interaction.RelativeValueCollection
設定する位置のコレクション。
解説
PlacementIntent は、位置の指定で不足している値を補完するために、配置アダプターによって使用されます。 たとえば、PlacementIntent が Move の場合、LeftSide に値を渡し、RightSide には渡さなかったとすると、配置アダプターは右側を調整して、コントロールのサイズを一定に保ちます。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。
参照
参照
Microsoft.Windows.Design.Interaction 名前空間