ComponentOne FlexPivot for WinForms
C1.Win.FlexPivot.4.8 Assembly / C1.Win.FlexPivot Namespace / C1FlexPivotGrid Class / ShowButtons Property

In This Topic
    ShowButtons Property (C1FlexPivotGrid)
    In This Topic
    Gets or sets when to display combo buttons in cells.
    Syntax
    'Declaration
     
    Public Property ShowButtons As ShowButtonsEnum
    public ShowButtonsEnum ShowButtons {get; set;}
    Remarks

    By default, the grid will show editing buttons in cells only when they have the focus. This is the same behavior used by the System.Windows.Forms.PropertyGrid control.

    This property affects only rendering of cells and do not affect appearance of editor.

    If you set C1.Win.C1FlexGrid.C1FlexGridBase.ShowButtons to C1.Win.C1FlexGrid.ShowButtonsEnum.Always, the grid will display buttons on any cells that have associated lists, even if they don't have the focus.

    For details on how to associate lists with cells, see the C1.Win.C1FlexGrid.C1FlexGridBase.ComboList, C1.Win.C1FlexGrid.RowCol.ComboList, and C1.Win.C1FlexGrid.RowCol.DataMap properties.

    See Also