Dundas Chart for Windows Forms
UserSelection Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Cursor Class : UserSelection Property


Enables or disables chart area range selection.
Enables/disables the range selection user interface.

Syntax

Visual Basic (Declaration)  
Public Property UserSelection As Boolean
Visual Basic (Usage) Copy Code
Dim instance As Cursor
Dim value As Boolean
 
instance.UserSelection = value
 
value = instance.UserSelection
C#  
public bool UserSelection {get; set;}

Return Value

A boolean value representing whether a chart area range can be selected.

Remarks

If true the user will be able to select a range within a chart area by clicking the left mouse button and dragging the mouse.

To use another mouse button (or to use the CTRL, ALT and SHIFT keys) override the appropriate events and programmatically control the cursor/range selection operations.  For an example of this see the SetSelectionPixelPosition topic.

If this property is false the user will still be able to display an axis' cursor if the cursor's UserEnabled property is set to true.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.