Version 24.2 (latest)

ScaleCrossingValue Method

Scales a location in the axis viewport by the CrossingAxis in order to get that locations value.
Syntax
protected void ScaleCrossingValue( 
   out double crossingValue,
   out double relativeCrossingValue,
   Rect window,
   Rect viewport,
   Rect effectiveViewport,
   double constraintLeft,
   double constraintRight
)

Parameters

crossingValue
Takes in a location. Outputs a crossing value.
relativeCrossingValue
Outputs a crossing value relative to constraintLeft.
window
The window rect.
viewport
The viewport rect.
effectiveViewport
The effective viewport rect.
constraintLeft
The left location constraint.
constraintRight
The right location constraint.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also