The mouse point
The axis bounds
Value, which indicates whether current axis is horizontal or not
GetIsSecondHalf Method (YAxisDragModifier)
Gets whether the specified mouse point is within the second (right-most or top-most) half of the Axis bounds
Syntax
protected override bool GetIsSecondHalf( 
   Point point,
   Rect axisBounds,
   bool isHorizontalAxis
)

Parameters

point
The mouse point
axisBounds
The axis bounds
isHorizontalAxis
Value, which indicates whether current axis is horizontal or not

Return Value

True if the point is within the second (right-most or top-most) half of the axis bounds, else false
Requirements

Target Platforms: Windows 7, 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