DragCanvasResolveOffset Method
Determines one component of a UIElement's location
within a Canvas (either the horizontal or vertical offset).
Namespace: MbcsCentralAssembly: MbcsCentral (in MbcsCentral.exe) Version: 2.0.1.15 (2.0.1.15)
private static double ResolveOffset(
double side1,
double side2,
out bool useSide1
)
- side1 Double
-
The value of an offset relative to a default side of the
Canvas (i.e. top or left).
- side2 Double
-
The value of the offset relative to the other side of the
Canvas (i.e. bottom or right).
- useSide1 Boolean
-
Will be set to true if the returned value should be used
for the offset from the side represented by the 'side1'
parameter. Otherwise, it will be set to false.
Double