更新:2007 年 11 月
定义在 AdornerPanel 中使用的二维坐标空间。
命名空间:  Microsoft.Windows.Design.Interaction
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)
语法
声明
Public MustInherit Class AdornerCoordinateSpace
用法
Dim instance As AdornerCoordinateSpace
public abstract class AdornerCoordinateSpace
public ref class AdornerCoordinateSpace abstract
public abstract class AdornerCoordinateSpace
备注
通过静态 AdornerCoordinateSpaces 类存在两个通用坐标空间:Layout 和 Render。Layout 坐标空间基于 Windows Presentation Foundation (WPF) 布局系统。Render 坐标空间基于屏幕上的物理像素。有关更多信息,请参见布局空间和呈现空间。
示例
下面的代码示例演示如何将 AdornerCoordinateSpaces 值赋给 CoordinateSpace 属性。有关更多信息,请参见演练:在控件内部实现一个轨道。
' Use layout space for the adorner panel.
' If render space were used, the slider would skew along with the button.
panel.CoordinateSpace = AdornerCoordinateSpaces.Layout
// Use layout space for the adorner panel.
// If render space were used, the slider would skew along with the button.
panel.CoordinateSpace = AdornerCoordinateSpaces.Layout;
继承层次结构
System.Object
  Microsoft.Windows.Design.Interaction.AdornerCoordinateSpace
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
另请参见
参考
Microsoft.Windows.Design.Interaction 命名空间