AdornerPanel.SetPlacements 方法

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

注意:此 API 现在已过时。 设置所提供元素的 Placements 附加属性的值。

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

语法

声明
Public Shared Sub SetPlacements ( _
    adorner As UIElement, _
    value As AdornerPlacementCollection _
)
public static void SetPlacements(
    UIElement adorner,
    AdornerPlacementCollection value
)
public:
static void SetPlacements(
    UIElement^ adorner, 
    AdornerPlacementCollection^ value
)
static member SetPlacements : 
        adorner:UIElement * 
        value:AdornerPlacementCollection -> unit 
public static function SetPlacements(
    adorner : UIElement, 
    value : AdornerPlacementCollection
)

参数

异常

异常 条件
ArgumentNullException

adorner 为 nulla null reference (Nothing in Visual Basic)。

.NET Framework 安全性

请参见

参考

AdornerPanel 类

Microsoft.Windows.Design.Interaction 命名空间

其他资源

装饰器体系结构

功能提供程序和功能连接器