SDG Toolkit

Mouse Properties

The properties of the Mouse class are listed below. For a complete list of Mouse class members, see the Mouse Members topic.

Public Instance Properties

ButtonGets an enumeration of all the mouse buttons currently pressed down
ControlFocusGets or sets the current Control that this mouse is focused on
CursorGets or sets the cursor image. You can use one of the default System.Windows.Forms.Cursors
DegreeRotationGets or sets both the rotation of the cursor image and the rotation of the movement of the cursor. For table top displays
FocusGets or sets the current SDG widget that this mouse is focused on
HotspotGet or sets the Hotspot of the cursor. The hotspot is the focal area of a cursor
LocationGets or sets the position of the cursor relative to the specified control
LocationAbsGets or sets the absolute screen position of the current Mouse
OpacityGets or sets the opacity of the cursor. A value of 1.0 represents full opacity and 0.0 represents completely transparent
RelativeToGets or sets the control that all of the X, Y and Location coordinates are relative to
RotateCursorImageOnlyGets or sets the rotation of the cursor image. This does not affect the movement of the cursor
TextGets or sets the cursor caption. The Default text location is the bottom left of the screen
TextBrushGets or sets the cursor caption brush. This is useful for changing the colour of the text
TextCardinalPositionGets or sets the position of the text caption based upon the Cardinal Direction enumeration. Normal returns a value dead center of the cursor.
TextFontGets or sets the font of the text caption for this cursor.
TextFormatGets or sets the cursor caption string format. The default format is to draw all text in a left to right fashion moving right from TextLocation
TextLocationGets or sets the starting location of the text caption for this cursor.
VisibleGets or sets the visible property of the Mouse. This is useful if you just want Mouse Events but you don't want to draw the Mouse on the screen
XGets or sets the X position of the cursor relative to the specified control
XabsGets or sets the absolute X screen position of the current Mouse
YGets or sets the Y position of the cursor relative to the specified control
YabsGets or sets the absolute Y screen position of the current Mouse

See Also

Mouse Class | Sdgt Namespace