PlacementAdapter.SetNudgePlacements 方法 (ModelItem, NudgeIntent, array<RelativeValue )

分配在键盘轻触期间用于移动控件的位置的指定数组。

命名空间:  Microsoft.Windows.Design.Interaction
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
Public Overridable Sub SetNudgePlacements ( _
    item As ModelItem, _
    intent As NudgeIntent, _
    positions As RelativeValue() _
)
public virtual void SetNudgePlacements(
    ModelItem item,
    NudgeIntent intent,
    RelativeValue[] positions
)
public:
virtual void SetNudgePlacements(
    ModelItem^ item, 
    NudgeIntent intent, 
    array<RelativeValue>^ positions
)
abstract SetNudgePlacements : 
        item:ModelItem * 
        intent:NudgeIntent * 
        positions:RelativeValue[] -> unit 
override SetNudgePlacements : 
        item:ModelItem * 
        intent:NudgeIntent * 
        positions:RelativeValue[] -> unit 
public function SetNudgePlacements(
    item : ModelItem, 
    intent : NudgeIntent, 
    positions : RelativeValue[]
)

参数

.NET Framework 安全性

请参见

参考

PlacementAdapter 类

SetNudgePlacements 重载

Microsoft.Windows.Design.Interaction 命名空间

ModelItem

NudgeIntent

AdornerPlacementCollection

AdornerPanel

其他资源

演练:创建设计时装饰器

装饰器体系结构