SDG Toolkit

Mouse Members

Mouse overview

Public Instance Constructors

Mouse Overloaded. Initializes a new instance of the Mouse class.

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

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Public Instance Events

MouseDownEvent fired when any mouse button has been pressed
MouseMoveEvent fired when any mouse event occurs
MouseUpEvent fired when any mouse button has been released
MouseWheelEvent fired when the mouse wheel has been moved

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Mouse Class | Sdgt Namespace