The MarginConverter type exposes the following members.

Constructors

  NameDescription
MarginConverter

Methods

  NameDescription
Convert
Converts a value from a binding source for use by a binding target.
ConvertBack
Converts a value from a binding target for writing to a binding source.

Properties

  NameDescription
BottomFactor
A value typically between 0-1 which is multiplied by the height of a Rect given to the Convert method in order to calculate the bottom value of the created Thickness object.
LeftFactor
A value typically between 0-1 which is multiplied by the width of a Rect given to the Convert method in order to calculate the left value of the created Thickness object.
RightFactor
A value typically between 0-1 which is multiplied by the width of a Rect given to the convert method in order to calculate the right value of the created Thickness object.
TopFactor
A value typically between 0-1 which is multiplied by the height of a Rect given to the Convert method in order to calculate the top value of the created Thickness object.

See Also