Click or drag to resize
BtnBase Class
Base abstract class for windowless GridTabBeam navigation buttons and the visual part of TabItem tab class.
Inheritance Hierarchy

Namespace: Stingray.Grid
Assembly: Stingray.GridTabControl (in Stingray.GridTabControl.dll) Version: [TAG_DECIMAL_VERSION]
Syntax
public abstract class BtnBase : IDisposable

The BtnBase type exposes the following members.

Constructors
  NameDescription
Public methodBtnBase
Initialize a new instance of the BtnBase class.
Top
Methods
  NameDescription
Public methodContains(Point)
Determines if a point is in the button.
Public methodContains(Int32, Int32)
Checks if a point is in the button.
Public methodDraw
Performs custom button painting.
Public methodMouseDown
Handles the Mouse Down event from the parent.
Public methodMouseLeave
Handles the Mouse Leave event from the parent.
Public methodMouseMove
Handles the Mouse Move event from the parent.
Public methodMouseUp
Handles the Mouse Up event from the parent.
Protected methodOnClick
Raises the Click event.
Top
Fields
  NameDescription
Protected fieldm_bMouseIn
Mouse position indicator.
Protected fieldm_bPressed
Pressed state indicator.
Protected fieldm_bVisible
Visibility state indicator.
Protected fieldm_hMouseDown
Handles events for the parent's Mouse Down event.
Protected fieldm_hMouseLeave
Handles events for the parent's Mouse Leave event.
Protected fieldm_hMouseMove
Handles events for the parent's Mouse Move event.
Protected fieldm_hMouseUp
Handles events for the parent's Mouse Up event.
Protected fieldm_Parent
Reference to the containing control.
Protected fieldm_ptMouse
Mouse coordinates.
Protected fieldm_rcSizeAndPos
A rectangle that holds a button's size and position.
Top
Properties
  NameDescription
Public propertyBounds
Gets the button's bound rectangle.
Public propertyLocation
Gets or sets the button's position.
Public propertyMouseIn
Gets or sets the mouse presence state for the button.
Public propertyPress
Gets or sets the pressed state of the button.
Public propertyptMouse
Gets or sets mouse coordinates.
Public propertySize
Gets or sets the button's size.
Public propertyVisible
Gets or sets the visibility state of the button.
Top
Events
  NameDescription
Public eventClick
Handles events when the control is clicked.
Top
Remarks
This class is not intended for direct use in users' applications.
See Also