FlexGrid for WinForms
CellButtonClick Event



Fires after the user clicks a cell button.
Syntax
'Declaration
 
<C1DescriptionAttribute("Fires after the user clicks a cell button.")>
Public Event CellButtonClick As RowColEventHandler
'Usage
 
Dim instance As C1FlexGridBase
Dim handler As RowColEventHandler
 
AddHandler instance.CellButtonClick, handler
[C1Description("Fires after the user clicks a cell button.")]
public event RowColEventHandler CellButtonClick
[C1Description("Fires after the user clicks a cell button.")]
public:
event RowColEventHandler^ CellButtonClick
Remarks

This event fires when the user clicks an edit button on a cell. Typically, this event is used to pop up a custom editor for the cell (for example, dialogs for selecting colors, dates, files, pictures, and so on).

By default, cell edit buttons are displayed on the right side of a cell, with an ellipsis caption ("..."). They are similar to the buttons displayed in the PropertyGrid control, next to Image properties. You may customize the button's appearance by assigning a picture to the CellButtonImage property.

To create an edit button on a cell, you must set the AllowEditing property to true and set the ComboList property (on the grid or on specific columns) to an ellipsis ("...").

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback