更新 : 2007 年 11 月
デザイナで使用される 2 つの共通の座標空間を定義します。
名前空間 : Microsoft.Windows.Design.Interaction
アセンブリ : Microsoft.Windows.Design.Interaction (Microsoft.Windows.Design.Interaction.dll 内)
構文
'宣言
Public NotInheritable Class AdornerCoordinateSpaces
'使用
メンバにアクセスするために、静的クラスのインスタンスを宣言する必要はありません。
public static class AdornerCoordinateSpaces
public ref class AdornerCoordinateSpaces abstract sealed
public final class AdornerCoordinateSpaces
解説
レイアウト空間は、Windows Presentation Foundation (WPF) レイアウト エンジンが使用する座標空間です。描画空間は、WPF サーフェイスで生のビジュアルが使用する座標系です。ほとんどの装飾は、描画空間を使用します。
例
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.AdornerCoordinateSpaces
スレッド セーフ
この型のすべてのパブリック static (Visual Basic では Shared) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
参照
参照
Microsoft.Windows.Design.Interaction 名前空間