Syncfusion.Grid.Windows
Properties  Methods  Events


GridCellButton Class Members

The following tables list the members exposed by GridCellButton.

Public Constructors
 NameDescription
Public ConstructorInitializes a new GridCellButton and associates it with a GridCellRendererBase.  
Top
Public Properties
 NameDescription
Public Property Gets or sets the coordinates of the cell button element in grid client area coordinates.  
Public PropertyGets or sets a value indicating whether button should fire a Clicked event when user clicks on button.  
Public PropertyGets a reference to the GridCellRendererBase.  
Public Property Gets or sets the text that has to be displayed inside cell button element.  
Top
Protected Properties
 NameDescription
Protected Property Gets a reference to the parent grid.  
Protected Property Gets the information of Saved HitTest.  
Top
Public Methods
 NameDescription
Public Method Occurs when the current mouse operation is canceled.  
Public MethodOverloaded. Overridden.  Releases the unmanaged resources used by the Component and optionally releases the managed resources.  
Public Method Draws the cell button element at the specified row and column index.  
Public MethodDraws a button using System.Windows.Forms.ControlPaint.DrawButton(System.Drawing.Graphics,System.Drawing.Rectangle,System.Windows.Forms.ButtonState) or if XP Themes are enabled, button will be drawn themed.  
Public Method Draws the PushButton for Metro skin  
Public Method Return the cursor that you want to display.  
Public Method Tests if the mouse is over the button and if the button wants to handle any subsequent mouse event.  
Public Method Determines whether the mouse is currently hovering over the button at the specified row and column.  
Public Method Determines whether the mouse is currently pressed at the specified row and column.  
Public Method Determines whether the button is marked as pushed at the specified row and column.  
Public MethodThis is called from GridCellRendererBase when HitTest has indicated it wants to receive mouse events and the user has pressed the mouse button.  
Public Method Occurs when the mouse is hovering over the button (and HitTest indicated it wants to handle the mouse event).  
Public Method Occurs when the mouse is hovering over the button (and HitTest indicated it wants to handle the mouse event).  
Public Method Occurs when the mouse has left hovering over the button (and HitTest indicated it wants to handle the mouse event).  
Public MethodThis is called from GridCellRendererBase when HitTest has indicated it wants to receive mouse events and the user has pressed the mouse button and is moving the mouse.  
Public MethodThis is called from GridCellRendererBase when HitTest has indicated it wants to receive mouse events and the user has released the mouse button.  
Public Method Saves current hovering state.  
Public Method Saves current MouseDown state.  
Public Method Saves current pushed state.  
Top
Protected Methods
 NameDescription
Protected MethodRaises the Clicked event.  
Protected MethodRaises the HoveringChanged event.  
Protected MethodRaises the MouseDownChanged event.  
Protected MethodRaises the PushedChanged event.  
Top
Extension Methods
 NameDescription
Public Extension MethodOverloaded.  Iterates the index.
Public Extension MethodOverloaded.  Iterates the index.
Top
Public Events
 NameDescription
Public Event Occurs when the cell button has clicked.  
Public Event Occurs when hovers mouse over cell button or moved mouse away from cell button element.  
Public Event Occurs when pressed or released the mouse button while the cursor was over the cell button element.  
Public Event Occurs when moved mouse away from cell button element or back into it while pressing the mouse.  
Top
See Also