RelativeValueCollection 类

更新:2007 年 11 月

表示值的集合,这些值描述项在设计图面上的面板或容器内的位置。

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

语法

声明
Public Class RelativeValueCollection _
    Inherits Collection(Of RelativeValue)
用法
Dim instance As RelativeValueCollection
public class RelativeValueCollection : Collection<RelativeValue>
public ref class RelativeValueCollection : public Collection<RelativeValue>
public class RelativeValueCollection extends Collection<RelativeValue>

备注

RelativeValueCollection 供 PlacementAdapter 用来获取或设置用于移动控件以及调整控件大小的位置值。

继承层次结构

System.Object
  System.Collections.ObjectModel.Collection<RelativeValue>
    Microsoft.Windows.Design.Interaction.RelativeValueCollection

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

另请参见

参考

RelativeValueCollection 成员

Microsoft.Windows.Design.Interaction 命名空间

其他资源

WPF 设计器扩展性