The RectToPointConverter type exposes the following members.

Constructors

  NameDescription
RectToPointConverter

Methods

  NameDescription
Convert
Calculates the position of a Point on the input Rect. The point's X coordinate is the XFactor fraction of the width, plus any XOffset; the point's Y coordinate is the YFactor fraction of the height, plus any YOffset.
ConvertBack
Converts a value from a binding target for writing to a binding source.

Properties

  NameDescription
XFactor
Gets or sets how far across the Rect the point is in the X direction, as a fraction of the width.
XOffset
Gets or sets an amount which is added to the X coordinate of the point.
YFactor
Gets or sets how far across the Rect the point is in the Y direction, as a fraction of the height.
YOffset
Gets or sets an amount which is added to the Y coordinate of the point.

See Also