AdornerPlacementValue 结构
更新:2007 年 11 月
表示 AdornerPlacementCollection 中的单个值。
命名空间: Microsoft.Windows.Design.Interaction
程序集: Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)
语法
声明
Public Structure AdornerPlacementValue
用法
Dim instance As AdornerPlacementValue
public struct AdornerPlacementValue
public value class AdornerPlacementValue
JScript 支持使用结构,但是不支持新结构的声明。
备注
AdornerPlacementValue 类型由与大小和位置相关的类型(如 IAdornerPlacement 接口)使用。位置值有一项用于指示如何解释该值(顶部、底部、左侧、右侧),还有一个装饰器布局的基值,该基值是一个 double 值。可以通过调用 GetSizeTerms 和 GetPositionTerms 方法来检索装饰器的位置值。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
另请参见
参考
Microsoft.Windows.Design.Interaction 命名空间