Share via


RelativePositions Class

Represents a set of static instances of common RelativePositions objects.

Inheritance Hierarchy

System.Object
  Microsoft.Windows.Design.Interaction.RelativePositions

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

Syntax

'Declaration
Public NotInheritable Class RelativePositions
public static class RelativePositions
public ref class RelativePositions abstract sealed
[<AbstractClass>]
[<Sealed>]
type RelativePositions =  class end
public final class RelativePositions

The RelativePositions type exposes the following members.

Properties

  Name Description
Public propertyStatic member BottomLeft Gets the bottom-left corner of an item on the design surface.
Public propertyStatic member BottomRight Gets the bottom-right corner of an item on the design surface.
Public propertyStatic member BottomSide Gets the bottom side of an item on the design surface.
Public propertyStatic member Bounds Gets the LeftSide, TopSide, RightSide, and BottomSide of an item on the design surface.
Public propertyStatic member Center Gets the center of an item on the design surface.
Public propertyStatic member ExternalBottomLeft Gets the external bottom-left corner of an item on the design surface.
Public propertyStatic member ExternalBottomRight Gets the external bottom-right corner of an item on the design surface.
Public propertyStatic member ExternalBottomSide Gets the external bottom side of an item on the design surface.
Public propertyStatic member ExternalLeftSide Gets the external left side of an item on the design surface.
Public propertyStatic member ExternalRightSide Gets the external right side of an item on the design surface.
Public propertyStatic member ExternalTopLeft Gets the external top-left corner of an item on the design surface.
Public propertyStatic member ExternalTopRight Gets the external top-right corner of an item on the design surface.
Public propertyStatic member ExternalTopSide Gets the external top side of an item on the design surface.
Public propertyStatic member InternalBottomLeft Gets the internal bottom-left corner of an item on the design surface.
Public propertyStatic member InternalBottomRight Gets the internal bottom-right corner of an item on the design surface.
Public propertyStatic member InternalBottomSide Gets the internal bottom side of an item on the design surface.
Public propertyStatic member InternalLeftSide Gets the internal left side of an item on the design surface.
Public propertyStatic member InternalRightSide Gets the internal right side of an item on the design surface.
Public propertyStatic member InternalTopLeft Gets the internal top-left corner of an item on the design surface.
Public propertyStatic member InternalTopRight Gets the internal top-right corner of an item on the design surface.
Public propertyStatic member InternalTopSide Gets the internal top side of an item on the design surface.
Public propertyStatic member LeftSide Gets the left side of an item on the design surface.
Public propertyStatic member RightSide Gets the right side of an item on the design surface.
Public propertyStatic member TopLeft Gets the top-left corner of an item on the design surface.
Public propertyStatic member TopRight Gets the top-right corner of an item on the design surface.
Public propertyStatic member TopSide Gets the top side of an item on the design surface.

Top

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

Microsoft.Windows.Design.Interaction Namespace

Other Resources

WPF Designer Extensibility