Version

GetResizeCursor Method

Gets the cursor to use while the mouse is over a resizable border.
Syntax
'Declaration
 
Function GetResizeCursor( _
   ByVal resizableItem As FrameworkElement, _
   ByVal resizeInXAxis As Boolean, _
   ByVal cursor As Cursor _
) As Cursor
Cursor GetResizeCursor( 
   FrameworkElement resizableItem,
   bool resizeInXAxis,
   Cursor cursor
)

Parameters

resizableItem
The item that contains the ResizeContext
resizeInXAxis
True to resize the width and false to resize the height.
cursor
The normal default cursor for this type of a resize operation.

Return Value

The cursor to display while the mouse is over the resize border.
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