Share via


AdornerPlacementValue Structure

Represents a single value in an AdornerPlacementCollection.

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

Syntax

'Declaration
Public Structure AdornerPlacementValue
'Usage
Dim instance As AdornerPlacementValue
public struct AdornerPlacementValue
public value class AdornerPlacementValue
JScript supports the use of structures, but not the declaration of new ones.

Remarks

The AdornerPlacementValue type is used by size- and position-related types, such as the IAdornerPlacement interface. A placement values has a term that indicates how to interpret it (top, bottom, left, right), and a contribution to the adorner layout, which is a double. You can retrieve adorner placement values by calling the GetSizeTerms and GetPositionTerms methods.

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

AdornerPlacementValue Members

Microsoft.Windows.Design.Interaction Namespace

AdornerPlacementCollection

AdornerPanel

IAdornerPlacement

Other Resources

Layout Space and Render Space

Walkthrough: Implementing a Rail Inside a Control

Understanding WPF Designer Extensibility