Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
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;}
Managed Extensions for C++ 
public: __property bool get_ClipCursor();
public: __property void set_ClipCursor( 
   bool value
);
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