PositionOrigin Members

This documentation is no longer available on MSDN, however it is available as a CHM download.



Represents the anchor point of the Position property on a UIElement.

The following tables list the members exposed by the PositionOrigin type.

  Name Description
PositionOrigin Initializes a new instance of the PositionOrigin class.
Top

  Name Description
public field static BottomCenter Specifies the bottom center of the position.
public field static BottomLeft Specifies the bottom left of the position.
public field static BottomRight Specifies the bottom right of the position.
public field static Center Specifies the center of the position.
public field static CenterLeft Specifies the center left of the position.
public field static CenterRight Specifies the center right of the position.
public field static TopCenter Specifies the top center of the position.
public field static TopLeft Specifies the top left of the position.
public field static TopRight Specifies the top right of the position.
Top

  Name Description
public property X Gets or sets the x-axis position of the position origin.
public property Y Gets or sets the y-axis position of the position origin.
Top

(see also Protected Methods)
 NameDescription
public methodEqualsOverloaded. Determines whether a specified object is equal to the position origin.
public methodGetHashCodeOverridden. Retrieves the hash code for this position origin.
public methodGetType  (inherited from Object)
public methodstaticEqualityDetermines whether two position origin objects are equal.
public methodstaticInequalityDetermines whether two position origins are not equal.
public methodToString  Overridden. (inherited from Object)
Top

  Name Description
protected method Finalize  (inherited from Object)
protected method MemberwiseClone  (inherited from Object)
Top
Show: