會指派指定的位置集合,以便在鍵盤微調期間移動控制項。
命名空間: Microsoft.Windows.Design.Interaction
組件: Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)
語法
'宣告
Public Overridable Sub SetNudgePlacements ( _
item As ModelItem, _
intent As NudgeIntent, _
placement As RelativeValueCollection _
)
public virtual void SetNudgePlacements(
ModelItem item,
NudgeIntent intent,
RelativeValueCollection placement
)
public:
virtual void SetNudgePlacements(
ModelItem^ item,
NudgeIntent intent,
RelativeValueCollection^ placement
)
abstract SetNudgePlacements :
item:ModelItem *
intent:NudgeIntent *
placement:RelativeValueCollection -> unit
override SetNudgePlacements :
item:ModelItem *
intent:NudgeIntent *
placement:RelativeValueCollection -> unit
public function SetNudgePlacements(
item : ModelItem,
intent : NudgeIntent,
placement : RelativeValueCollection
)
參數
- item
型別:Microsoft.Windows.Design.Model.ModelItem
要放置的 ModelItem。
- intent
型別:Microsoft.Windows.Design.Interaction.NudgeIntent
NudgeIntent ,指定這個定位呼叫的原因。
- placement
型別:Microsoft.Windows.Design.Interaction.RelativeValueCollection
要設定的定位位置集合。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.Windows.Design.Interaction 命名空間