Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the space to use for rendering the adorner panel. This is a dependency property.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Property CoordinateSpace As AdornerCoordinateSpace
'Usage
Dim instance As AdornerPanel
Dim value As AdornerCoordinateSpace
value = instance.CoordinateSpace
instance.CoordinateSpace = value
public AdornerCoordinateSpace CoordinateSpace { get; set; }
public:
property AdornerCoordinateSpace^ CoordinateSpace {
AdornerCoordinateSpace^ get ();
void set (AdornerCoordinateSpace^ value);
}
public function get CoordinateSpace () : AdornerCoordinateSpace
public function set CoordinateSpace (value : AdornerCoordinateSpace)
Property Value
Type: Microsoft.Windows.Design.Interaction.AdornerCoordinateSpace
An AdornerCoordinateSpaces value representing the adorner panel's coordinate space. The default is Render.
Dependency Property Information
Identifier field |
|
Metadata properties set to true |
Examples
The following code example shows how to set the CoordinateSpace property to the layout space. 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace