AdornerCoordinateSpace Class
Defines a 2D coordinate space for use in AdornerPanel.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustInherit Class AdornerCoordinateSpace
'Usage
Dim instance As AdornerCoordinateSpace
public abstract class AdornerCoordinateSpace
public ref class AdornerCoordinateSpace abstract
public abstract class AdornerCoordinateSpace
Remarks
There are two common coordinate spaces through the static AdornerCoordinateSpaces class: Layout and Render. The Layout coordinate space is based on the Windows Presentation Foundation (WPF) layout system. The Render coordinate space is based on the physical pixels on screen. For more information, see Layout Space and Render Space.
Examples
The following code example shows how to assign an AdornerCoordinateSpaces value to the CoordinateSpace property. For more information, see Walkthrough: Implementing a Rail Inside a Control.
' 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;
Inheritance Hierarchy
System.Object
Microsoft.Windows.Design.Interaction.AdornerCoordinateSpace
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
AdornerCoordinateSpace Members
Microsoft.Windows.Design.Interaction Namespace