Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ClipCursor Property
See Also 
Leadtools.WinForms Namespace > RasterImagePanViewer Class : ClipCursor Property



Enables and disables clipping the cursor.

Syntax

Visual Basic (Declaration) 
Public Property ClipCursor As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterImagePanViewer
Dim value As Boolean
 
instance.ClipCursor = value
 
value = instance.ClipCursor
C# 
public bool ClipCursor {get; set;}
C++/CLI 
public:
property bool ClipCursor {
   bool get();
   void set (bool value);
}

Return Value

true to clip the cursor to the bounding Rectangle of the RasterImagePanViewer control. false to allow the cursor to move outside the bounding rectangle of the RasterImagePanViewer control. The default is true.

Example

Refer to Viewer example.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also