ComponentOne FlexPivot for WinForms
C1.Win.FlexPivot.4.8 Assembly / C1.Win.FlexPivot Namespace / C1FlexPivotGrid Class / CellButtonClick Event

In This Topic
    CellButtonClick Event (C1FlexPivotGrid)
    In This Topic
    Fires after the user clicks a cell button.
    Syntax
    'Declaration
     
    Public Event CellButtonClick As RowColEventHandler
    public event RowColEventHandler CellButtonClick
    Event Data

    The event handler receives an argument of type RowColEventArgs containing data related to this event. The following RowColEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets a value indicating whether the operation should be canceled.  
    Gets the index of the column that caused the event.  
    Gets the index of the row that caused the event.  
    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 C1.Win.C1FlexGrid.C1FlexGridBase.CellButtonImage property.

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

    See Also