更新 : 2007 年 11 月
AdornerPanel で使用する 2D 座標空間を定義します。
名前空間 : 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 クラスには、2 つの共通の座標空間である Layout と Render が用意されています。Layout 座標空間は、Windows Presentation Foundation (WPF) レイアウト システムに基づきます。Render 座標空間は、画面上の物理的なピクセルに基づきます。詳細については、「レイアウト空間と描画空間」を参照してください。
例
CoordinateSpace プロパティに AdornerCoordinateSpaces 値を割り当てる方法を次のコード例に示します。詳細については、「チュートリアル : コントロール内でのレールの実装」を参照してください。
' 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 名前空間