Share via


AdornerCoordinateSpaces.Layout Property

Gets the layout coordinate space based on layout information provided by Windows Presentation Foundation (WPF).

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Shared ReadOnly Property Layout As AdornerCoordinateSpace
'Usage
Dim value As AdornerCoordinateSpace 

value = AdornerCoordinateSpaces.Layout
public static AdornerCoordinateSpace Layout { get; }
public:
static property AdornerCoordinateSpace^ Layout {
    AdornerCoordinateSpace^ get ();
}
public static function get Layout () : AdornerCoordinateSpace

Property Value

Type: Microsoft.Windows.Design.Interaction.AdornerCoordinateSpace
An AdornerCoordinateSpace specifying layout space.

Examples

The following code example shows how to assign the Layout 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;

.NET Framework Security

See Also

Reference

AdornerCoordinateSpaces Class

AdornerCoordinateSpaces Members

Microsoft.Windows.Design.Interaction Namespace

AdornerCoordinateSpace

AdornerPanel

Other Resources

Layout Space and Render Space

Walkthrough: Implementing a Rail Inside a Control

Understanding WPF Designer Extensibility