The properties of the Mouse class are listed below. For a complete list of Mouse class members, see the Mouse Members topic.
Button | Gets an enumeration of all the mouse buttons currently pressed down |
ControlFocus | Gets or sets the current Control that this mouse is focused on |
Cursor | Gets or sets the cursor image. You can use one of the default System.Windows.Forms.Cursors |
DegreeRotation | Gets or sets both the rotation of the cursor image and the rotation of the movement of the cursor. For table top displays |
Focus | Gets or sets the current SDG widget that this mouse is focused on |
Hotspot | Get or sets the Hotspot of the cursor. The hotspot is the focal area of a cursor |
Location | Gets or sets the position of the cursor relative to the specified control |
LocationAbs | Gets or sets the absolute screen position of the current Mouse |
Opacity | Gets or sets the opacity of the cursor. A value of 1.0 represents full opacity and 0.0 represents completely transparent |
RelativeTo | Gets or sets the control that all of the X, Y and Location coordinates are relative to |
RotateCursorImageOnly | Gets or sets the rotation of the cursor image. This does not affect the movement of the cursor |
Text | Gets or sets the cursor caption. The Default text location is the bottom left of the screen |
TextBrush | Gets or sets the cursor caption brush. This is useful for changing the colour of the text |
TextCardinalPosition | Gets or sets the position of the text caption based upon the Cardinal Direction enumeration. Normal returns a value dead center of the cursor. |
TextFont | Gets or sets the font of the text caption for this cursor. |
TextFormat | Gets 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 |
TextLocation | Gets or sets the starting location of the text caption for this cursor. |
Visible | Gets 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 |
X | Gets or sets the X position of the cursor relative to the specified control |
Xabs | Gets or sets the absolute X screen position of the current Mouse |
Y | Gets or sets the Y position of the cursor relative to the specified control |
Yabs | Gets or sets the absolute Y screen position of the current Mouse |