PlacementAdapter.SetNudgePlacements 方法 (ModelItem, NudgeIntent, RelativeValueCollection)

[本文档仅供预览,在以后的发行版中可能会发生更改。包含的空白主题用作占位符。]

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

命名空间:  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
)

参数

.NET Framework 安全性

请参见

参考

PlacementAdapter 类

SetNudgePlacements 重载

Microsoft.Windows.Design.Interaction 命名空间

ModelItem

NudgeIntent

AdornerPlacementCollection

AdornerPanel

其他资源

演练:创建设计时装饰器

装饰器体系结构